From a39ef788cbf87ef5321982d9bfec6876d281fa2e Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 4 Sep 2016 23:01:07 +0200 Subject: [PATCH] Better runit script --- initscript.runit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/initscript.runit b/initscript.runit index 4ed53b4..e8995f2 100644 --- a/initscript.runit +++ b/initscript.runit @@ -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