diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-05 17:30:25 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:35:56 +0200 |
commit | be6b2f51059e0604bd3728e6cd603972df8cf619 (patch) | |
tree | f96cb3406b3339d2fecb7222b316c754ea2e98e5 /scripts/boot.sh | |
parent | 99d761a75c2d4b6fb1bcfd742de24b459a3ca1ad (diff) | |
download | live-boot-be6b2f51059e0604bd3728e6cd603972df8cf619.tar.gz live-boot-be6b2f51059e0604bd3728e6cd603972df8cf619.zip |
Rewriting live-media checksum verification to work with any SHA and MD5 digests.
Diffstat (limited to 'scripts/boot.sh')
-rwxr-xr-x | scripts/boot.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/boot.sh b/scripts/boot.sh index 90750b5..2fe563e 100755 --- a/scripts/boot.sh +++ b/scripts/boot.sh @@ -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 |