hashboot/initscript.gentoo

24 lines
298 B
Plaintext
Raw Normal View History

2015-06-05 14:04:44 +02:00
#!/sbin/runscript
description="Check integrity of files in /boot"
depend()
{
need localmount
}
start()
{
ebegin "Checking integrity of files in /boot"
# See if hashboot.sh is accessible
which hashboot.sh > /dev/null || return 1
if ! hashboot.sh check
then
sh
return 2
fi
eend 0
}