[debian-edu-commits] debian-edu/ 01/01: Fix typo in acpiwakeup code.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sat Oct 17 17:33:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository shutdown-at-night.

commit 777a53050a217231b899b59bb0d819314e80318f
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sat Oct 17 19:33:04 2015 +0200

    Fix typo in acpiwakeup code.
---
 debian/changelog  | 1 +
 shutdown-at-night | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b7f7644..3cf6d35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 shutdown-at-night (0.17) UNRELEASED; urgency=medium
 
   * Fix typos in xsession test.
+  * Fix typo in acpiwakeup code.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Sat, 17 Oct 2015 19:25:29 +0200
 
diff --git a/shutdown-at-night b/shutdown-at-night
index 2a8534e..af2260e 100755
--- a/shutdown-at-night
+++ b/shutdown-at-night
@@ -184,7 +184,7 @@ if enabled_for_host ; then
         if type nvram-wakeup >/dev/null 2>&1 ; then
             nvramwakeup $wakeuptime
         fi
-        acpiwakeup $waketime
+        acpiwakeup $wakeuptime
         prepare_wakeonlan || fatal "unable to enable wake-on-lan - aborting shutdown."
         shutdown -h 5 "Unused host being turned off for the night (cron)." < /dev/null > /dev/null 2>&1 &
     else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git



More information about the debian-edu-commits mailing list