summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/01integrity_check
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-28 20:54:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit56ac3ff5ec3730d0dcf04d5af7145446a0143b9b (patch)
treecbf0b0839530b3c63546123a236179bb016f87c1 /scripts/live-bottom/01integrity_check
parent74b2605aeda6083f762b0fa1cc2521dbb2ef67a6 (diff)
downloadlive-boot-56ac3ff5ec3730d0dcf04d5af7145446a0143b9b.tar.gz
live-boot-56ac3ff5ec3730d0dcf04d5af7145446a0143b9b.zip
Merging casper 1.106.
Diffstat (limited to 'scripts/live-bottom/01integrity_check')
-rwxr-xr-xscripts/live-bottom/01integrity_check11
1 files changed, 7 insertions, 4 deletions
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