forked from tastytea/hashboot
Set $PATH in hashboot.sh; bugfix in initscript; version 0.5
This commit is contained in:
parent
a7996b9bae
commit
7ed3038082
|
@ -1,3 +1,6 @@
|
||||||
|
* 2015-06-08 tastytea <tastytea@tastytea.de>
|
||||||
|
Bug fixes
|
||||||
|
Version 0.5
|
||||||
* 2015-06-05 tastytea <tastytea@tastytea.de>
|
* 2015-06-05 tastytea <tastytea@tastytea.de>
|
||||||
Changed to be not interactive while checking to work with systemd
|
Changed to be not interactive while checking to work with systemd
|
||||||
* 2015-06-05 tastytea <tastytea@tastytea.de>
|
* 2015-06-05 tastytea <tastytea@tastytea.de>
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
#Exit codes: 0 = success, 1 = wrong usage, 2 = not root, 3 = no hasher found,
|
#Exit codes: 0 = success, 1 = wrong usage, 2 = not root, 3 = no hasher found,
|
||||||
#4 = checksum mismatch, 5 = write error
|
#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"
|
DIGEST_FILE="/var/lib/hashboot.digest"
|
||||||
LOG_FILE="/tmp/hashboot.log"
|
LOG_FILE="/tmp/hashboot.log"
|
||||||
BACKUP_FILE="/var/cache/boot-backup.tar.gz"
|
BACKUP_FILE="/var/cache/boot-backup.tar.gz"
|
||||||
|
|
|
@ -27,8 +27,9 @@ start()
|
||||||
sh
|
sh
|
||||||
return 4
|
return 4
|
||||||
elif [ $? != 0 ]
|
elif [ $? != 0 ]
|
||||||
|
then
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eend 0
|
eend 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user