From 7ed3038082bd80c16e9d7be566e1eeddbb4f3c5f Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Jun 2015 01:43:23 +0200 Subject: [PATCH] Set $PATH in hashboot.sh; bugfix in initscript; version 0.5 --- ChangeLog | 3 +++ hashboot.sh | 4 +++- initscript.gentoo | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4439748..26dc371 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* 2015-06-08 tastytea + Bug fixes + Version 0.5 * 2015-06-05 tastytea Changed to be not interactive while checking to work with systemd * 2015-06-05 tastytea diff --git a/hashboot.sh b/hashboot.sh index a6eb244..7d64a20 100755 --- a/hashboot.sh +++ b/hashboot.sh @@ -3,7 +3,9 @@ #Exit codes: 0 = success, 1 = wrong usage, 2 = not root, 3 = no hasher found, #4 = checksum mismatch, 5 = write error -VERSION="0.4" +VERSION="0.5" +PATH="/bin:/usr/bin:/sbin:/usr/sbin" + DIGEST_FILE="/var/lib/hashboot.digest" LOG_FILE="/tmp/hashboot.log" BACKUP_FILE="/var/cache/boot-backup.tar.gz" diff --git a/initscript.gentoo b/initscript.gentoo index e592d64..bf76ba2 100755 --- a/initscript.gentoo +++ b/initscript.gentoo @@ -27,8 +27,9 @@ start() sh return 4 elif [ $? != 0 ] + then return $? fi eend 0 -} \ No newline at end of file +}