repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git]
/
boot-digest
/
boot-digest.rcd
blob
c784b4551dd482a69a0683a188f0330398c057ab
1
#!/bin/sh
2
3
.
/
etc
/
rc.conf
4
.
/
etc
/
rc.d
/
functions
5
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
16
fi
17
;;
18
stop
)
19
;;
20
*)
21
echo
"Usage:
$0
{start|stop}"
22
esac