X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F01integrity_check;h=e4710f37b635a4c47746320e4c107d85366a3792;hb=b3416142f2a676acbfca0738ea386d40bef74313;hp=bd88a760a20bf397c239400cfd851d1f0e95f30c;hpb=ccea277caf476cdfef4c0f953df5a97062d8be42;p=live-boot-grml.git diff --git a/scripts/live-bottom/01integrity_check b/scripts/live-bottom/01integrity_check index bd88a76..e4710f3 100755 --- a/scripts/live-bottom/01integrity_check +++ b/scripts/live-bottom/01integrity_check @@ -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