summaryrefslogtreecommitdiff
path: root/sbin/itzks-update-disklserver-squashfs-images
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-05 22:29:00 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-05 22:29:00 +0100
commitad8221bdfe75619d8e80c3b41f81d44e4879df2f (patch)
tree7c0c44ba519879fbc12d976b8bcf9b7ecdd9a103 /sbin/itzks-update-disklserver-squashfs-images
parent9dfccc44c5f2eadc2b392b3577b3ea7d42d089d7 (diff)
downloaditzks-systems-ad8221bdfe75619d8e80c3b41f81d44e4879df2f.tar.gz
itzks-systems-ad8221bdfe75619d8e80c3b41f81d44e4879df2f.tar.bz2
itzks-systems-ad8221bdfe75619d8e80c3b41f81d44e4879df2f.zip
sbin/itzks-update-disklserver-squashfs-images: Update ltsp.img and LTSP's iPXE boot menu on a regular basis, while we are at it.
Diffstat (limited to 'sbin/itzks-update-disklserver-squashfs-images')
-rwxr-xr-xsbin/itzks-update-disklserver-squashfs-images4
1 files changed, 4 insertions, 0 deletions
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