X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F01integrity_check;h=4ac847f13ceedd73c7d5abbfa157ac93d7d96a5a;hb=55ba8f3604d66854ef30b7609e347757c9ba3cac;hp=bd88a760a20bf397c239400cfd851d1f0e95f30c;hpb=25bcd436af6202932ad494c8ddd0a49999579924;p=live-boot-grml.git diff --git a/scripts/live-bottom/01integrity_check b/scripts/live-bottom/01integrity_check index bd88a76..4ac847f 100755 --- a/scripts/live-bottom/01integrity_check +++ b/scripts/live-bottom/01integrity_check @@ -20,4 +20,7 @@ esac # live-initramfs script -grep integrity-check /proc/cmdline && live-md5check /live_media /live_media/md5sum.txt < /dev/tty8 +grep -qs integrity-check /proc/cmdline || exit 0 + +cd /live/image +md5sum -c md5sum.txt < /dev/tty8