aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/wakeup-reboot-halt')
-rw-r--r--etc/init.d/wakeup-reboot-halt3
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."