projects
/
live-boot-grml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adding Michal Suchanek <hramrach@centrum.cz> to credits file.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
01integrity_check
1
#!/bin/sh
2
3
#set -e
4
5
# initramfs-tools header
6
7
PREREQ=""
8
9
prereqs()
10
{
11
echo "${PREREQ}"
12
}
13
14
case "${1}" in
15
prereqs)
16
prereqs
17
exit 0
18
;;
19
esac
20
21
# live-initramfs script
22
23
if grep -qs integrity-check /proc/cmdline
24
then
25
cd /live/image
26
md5sum -c md5sum.txt < /dev/tty8 > /dev/tty8
27
reboot
28
while :; do sleep 60; done
29
fi