Rewriting live-media checksum verification to work with any SHA and MD5 digests.
[live-boot-grml.git] / scripts / boot.sh
index 90750b5..2fe563e 100755 (executable)
@@ -512,10 +512,11 @@ mountroot ()
                panic "Unable to find a medium containing a live file system"
        fi
 
-       if [ "${INTEGRITY_CHECK}" ]
-       then
-               integrity_check "${livefs_root}"
-       fi
+       case "${LIVE_VERIFY_CHECKSUMS}" in
+               true)
+                       Verify_checksums "${livefs_root}"
+                       ;;
+       esac
 
        if [ "${TORAM}" ]
        then