Better runit script

This commit is contained in:
teldra 2016-09-04 23:01:07 +02:00
parent d9a90232b4
commit a39ef788cb
1 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
#!/bin/sh
which hashboot > /dev/null && hashboot check
#!/bin/sh -e
msg "Checking integrity of /boot"
/usr/bin/hashboot || emergency_shell