[debian-edu-commits] debian-edu/shutdown-at-night.git (#55) - master (branch) updated: 1f92ea93a1f5fb939a986781c4ae88d1be0e1238

Mike Gabriel sunweaver at alioth.debian.org
Wed Oct 23 09:24:22 UTC 2013


The branch, master has been updated
       via  1f92ea93a1f5fb939a986781c4ae88d1be0e1238 (commit)
      from  f822644162513122c806e8de393458115cffdd49 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1f92ea93a1f5fb939a986781c4ae88d1be0e1238
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sun Jul 21 10:44:13 2013 +0000

    Make sure to syslog that ACPI RTC is used to set wakeup time when
    it is used.
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@81780 6e500793-9bee-0310-a5b0-9d0909bd054d

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog  |    2 ++
 shutdown-at-night |    1 +
 2 files changed, 3 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index d1ad3c0..84e8fb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ shutdown-at-night (0.12) UNRELEASED; urgency=low
     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
 
diff --git a/shutdown-at-night b/shutdown-at-night
index 9734995..f1c8a72 100755
--- a/shutdown-at-night
+++ b/shutdown-at-night
@@ -83,6 +83,7 @@ acpiwakeup() {
 
         # 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


hooks/post-receive
-- 
shutdown-at-night.git (shutdown-at-night Debian package)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "shutdown-at-night.git" (shutdown-at-night Debian package).




More information about the debian-edu-commits mailing list