diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-09 22:04:12 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-09 22:04:12 +0100 |
commit | f167a581e7d7928b1a327f183b87db365f56debf (patch) | |
tree | 2cea83b65cc3ec0ea949ed727f953efa42ff4522 /etc/init.d/wakeup-reboot-halt | |
parent | several minor fixes (diff) | |
download | gentoo-vdr-scripts-f167a581e7d7928b1a327f183b87db365f56debf.tar.gz gentoo-vdr-scripts-f167a581e7d7928b1a327f183b87db365f56debf.tar.bz2 gentoo-vdr-scripts-f167a581e7d7928b1a327f183b87db365f56debf.zip |
readded copyright line in init scripts, whitespace
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'etc/init.d/wakeup-reboot-halt')
-rw-r--r-- | etc/init.d/wakeup-reboot-halt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/init.d/wakeup-reboot-halt b/etc/init.d/wakeup-reboot-halt index 555b064..01f11a4 100644 --- a/etc/init.d/wakeup-reboot-halt +++ b/etc/init.d/wakeup-reboot-halt @@ -1,5 +1,6 @@ #!/sbin/openrc-run # Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 extra_commands="mark_for_reboot" @@ -15,7 +16,7 @@ depend() { 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." |