updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / boot-digest / boot-digest.rcd
blobc784b4551dd482a69a0683a188f0330398c057ab
1 #!/bin/sh
3 . /etc/rc.conf
4 . /etc/rc.d/functions
6 case "$1" in
7 start)
8 stat_busy "Checking boot partition digest"
9 if boot-digest-check; then
10 stat_done
11 else
12 stat_fail
13 echo "Digest-check on /boot has FAILED!!!"
14 echo "Someone might have tampered with your boot files!"
15 stat_fail
18 stop)
21 echo "Usage: $0 {start|stop}"
22 esac