Package: shutdown-at-night
Version: 0.10

The current wakeup methods supported are Wake-on-lan and nvram-wakeup.
Modern hardware have another method, ACPI wakeup, that could be
utilized by shutdown-at-night.  The details of this method is
described in <URL: http://www.mythtv.org/wiki/ACPI_Wakeup >.

We could use something like this to set it:

  echo 0 > /sys/class/rtc/rtc0/wakealarm
  date -u --date "Jul 1, 2008 10:32:00" +%s > /sys/class/rtc/rtc0/wakealarm

But to get it working, we have to disable /etc/init.d/hwclock.sh
during shutdown or make sure we set the alarm after hwclock.sh is
executed during shutdown.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to