[debian-edu-commits] r81780 - in trunk/src/shutdown-at-night: . debian

pere at alioth.debian.org pere at alioth.debian.org
Sun Jul 21 10:44:14 UTC 2013


Author: pere
Date: 2013-07-21 10:44:13 +0000 (Sun, 21 Jul 2013)
New Revision: 81780

Modified:
   trunk/src/shutdown-at-night/debian/changelog
   trunk/src/shutdown-at-night/shutdown-at-night
Log:
Make sure to syslog that ACPI RTC is used to set wakeup time when
it is used.

Modified: trunk/src/shutdown-at-night/debian/changelog
===================================================================
--- trunk/src/shutdown-at-night/debian/changelog	2013-07-21 10:43:28 UTC (rev 81779)
+++ trunk/src/shutdown-at-night/debian/changelog	2013-07-21 10:44:13 UTC (rev 81780)
@@ -4,6 +4,8 @@
     machine (Closes: #717441).
   * Correct time zone calculations, try to ensure that the 07:00 wake
     up time is in the local time zone and not UTC.
+  * Make sure to syslog that ACPI RTC is used to set wakeup time when
+    it is used.
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 15 Jul 2013 17:26:08 +0200
 

Modified: trunk/src/shutdown-at-night/shutdown-at-night
===================================================================
--- trunk/src/shutdown-at-night/shutdown-at-night	2013-07-21 10:43:28 UTC (rev 81779)
+++ trunk/src/shutdown-at-night/shutdown-at-night	2013-07-21 10:44:13 UTC (rev 81780)
@@ -83,6 +83,7 @@
 
         # Next, set it to our selected time
 	echo $when > /sys/class/rtc/rtc0/wakealarm
+	logger -t shutdown-at-night "scheduled $hostname to turn itself on at $wakeuptime using /sys/class/rtc/rtc0/wakealarm."
 	return 0
     else
 	return 1




More information about the debian-edu-commits mailing list