Adding upstream version 1.107.1.
[live-boot-grml.git] / scripts / live-bottom / 01integrity_check
index bd88a76..e4710f3 100755 (executable)
@@ -20,4 +20,10 @@ esac
 
 # live-initramfs script
 
-grep integrity-check /proc/cmdline && live-md5check /live_media /live_media/md5sum.txt < /dev/tty8
+if grep -qs integrity-check /proc/cmdline
+then
+       cd /live/image
+       md5sum -c md5sum.txt < /dev/tty8 > /dev/tty8
+       reboot
+       while :; do sleep 60; done
+fi