[debian-edu-commits] debian-edu/ 55/64: Make sure to syslog that ACPI RTC is used to set wakeup time when it is used.
Mike Gabriel
sunweaver at debian.org
Wed Oct 23 09:51:57 UTC 2013
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository shutdown-at-night.
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
---
debian/changelog | 2 ++
shutdown-at-night | 1 +
2 files changed, 3 insertions(+)
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
--
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