X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F01integrity_check;h=4ac847f13ceedd73c7d5abbfa157ac93d7d96a5a;hb=a598c3922f95ebe965b4089e989679fca5f84933;hp=b855b628fbfddc6de3d8069ebd43a9d3665ac788;hpb=d9ba94a9c03bae6905ff08ece35751eab82781a1;p=live-boot-grml.git diff --git a/scripts/live-bottom/01integrity_check b/scripts/live-bottom/01integrity_check index b855b62..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/image /live/image/md5sum.txt < /dev/tty8 +grep -qs integrity-check /proc/cmdline || exit 0 + +cd /live/image +md5sum -c md5sum.txt < /dev/tty8