From ad8221bdfe75619d8e80c3b41f81d44e4879df2f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 5 Jan 2022 22:29:00 +0100 Subject: sbin/itzks-update-disklserver-squashfs-images: Update ltsp.img and LTSP's iPXE boot menu on a regular basis, while we are at it. --- sbin/itzks-update-disklserver-squashfs-images | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/itzks-update-disklserver-squashfs-images b/sbin/itzks-update-disklserver-squashfs-images index c46c616..d6426e5 100755 --- a/sbin/itzks-update-disklserver-squashfs-images +++ b/sbin/itzks-update-disklserver-squashfs-images @@ -29,6 +29,10 @@ chmod 1777 ${TMPDIR} ltsp_chroots=$(ls "${LTSP_OPT}" | while read chroot_dir; do test ! -h "${LTSP_OPT}/${chroot_dir}" -a -x "${LTSP_OPT}/${chroot_dir}/bin/bash" && echo -n "${chroot_dir} "; done) +# let's update ltsp.img (LTSP initrd) and LTSP's iPXE boot menu configuration, just in case... +ltsp initrd +ltsp ipxe + for chroot in ${ltsp_chroots}; do if [ -e "${LTSP_OPT}/${chroot}/chroot-upgrade-in-process" ]; then -- cgit v1.2.3