X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F01integrity_check;h=e4710f37b635a4c47746320e4c107d85366a3792;hb=56ac3ff5ec3730d0dcf04d5af7145446a0143b9b;hp=4ac847f13ceedd73c7d5abbfa157ac93d7d96a5a;hpb=74b2605aeda6083f762b0fa1cc2521dbb2ef67a6;p=live-boot-grml.git diff --git a/scripts/live-bottom/01integrity_check b/scripts/live-bottom/01integrity_check index 4ac847f..e4710f3 100755 --- a/scripts/live-bottom/01integrity_check +++ b/scripts/live-bottom/01integrity_check @@ -20,7 +20,10 @@ esac # live-initramfs script -grep -qs integrity-check /proc/cmdline || exit 0 - -cd /live/image -md5sum -c 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