diff options
author | 2008-02-18 14:46:06 +0000 | |
---|---|---|
committer | 2008-02-18 14:46:06 +0000 | |
commit | 03d290d01b62b1a8e30a56785ddd55419dd6c50b (patch) | |
tree | 3c55f22ddb7ef45775e5e9b6ae0435916e77fd54 /etc | |
parent | Move mark-file logic for reboot completely into init-script. (diff) | |
download | gentoo-vdr-scripts-03d290d01b62b1a8e30a56785ddd55419dd6c50b.tar.gz gentoo-vdr-scripts-03d290d01b62b1a8e30a56785ddd55419dd6c50b.tar.bz2 gentoo-vdr-scripts-03d290d01b62b1a8e30a56785ddd55419dd6c50b.zip |
Move position of rm statefile.
svn path=/gentoo-vdr-scripts/trunk/; revision=580
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/wakeup-reboot-halt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/wakeup-reboot-halt b/etc/init.d/wakeup-reboot-halt index 6e66079..fc3a240 100755 --- a/etc/init.d/wakeup-reboot-halt +++ b/etc/init.d/wakeup-reboot-halt @@ -19,9 +19,9 @@ start() { # check weather this time this is a reboot and I should shutdown if [ -e "${STATEFILE}" ]; then + rm -f "${STATEFILE}" einfo "This is a reboot to write the wakeup-time into the bios." einfo "Shutting down now." - rm -f "${STATEFILE}" init 0 fi } |