X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F01integrity_check;h=e4710f37b635a4c47746320e4c107d85366a3792;hb=1e0a488b895cd6e2bf7141aa730f17da42a490f7;hp=4ac847f13ceedd73c7d5abbfa157ac93d7d96a5a;hpb=7c815f70054a82bfccf992d9b20d4d56b60f46cc;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