[mythtv-users] Shutdown/Wakeup wiki question
Chad
masterclc at gmail.com
Fri May 11 07:52:31 UTC 2007
Hello!
I'm finally getting around to setting up shutdown/wakeup stuff on my
system. This is really quite cool!
I'm mostly confused on the settime script (and what follows it).
Here is what I do manually to "make it work":
echo "YYYY-MM-DD hh:mm:ss" >/proc/acpi/alarm
shutdown -h now
where YYYY-MM-DD hh:mm:ss is something like 2007-05-11 23:10:00 to
have the system woken up on May 11th 2007 at 11:10pm.
So, what I've put in the first box (wakeup time format) is:
yyyy-MM-dd hh:mm:ss
And then in the second box (set wakeuptime command):
echo "$time" >/proc/acpi/alarm
and the server halt command:
shutdown -h now
And I'm not sure if it will work. But nonetheless I would like to
understand what the settime script is supposed to be doing.
*update*
My backend just shutdown automatically. I don't know when it will be
coming back up, but so far the auto shutdown seems like it may have
worked! :)
Anyway, so if some kind soul could explain why the settime script (and
the related scripts/setup) would want to be used, it would be much
appreciated. I've spent a considerable amount of time reading up on
hwclock and date, both of which are amazingly in depth and pretty
cool. So I sort of understand it a bit better, but I still don't see
the rationale.
Thanks!
-Chad
More information about the mythtv-users
mailing list