Package: util-linux
Version: 2.12p-4sarge1 

Hello

running "VDR":
To save a significant amount of energy the box is powered off
until the next recording will need it.

To implement that acpi_wakeup is used by simply 

WAKETIME=`date -d "1970-01-01 UTC $1 sec -5 min" +"%Y-%m-%d %H:%M:%S"`
echo $WAKETIME > /proc/acpi/alarm 2> $LOGGER

with $1 the wakeup time in seconds since epoc, that delivered
by VDR and decremented by 5minutes to make sure the box is
not still checking file systems.


To make this work, no further access to the hardware clock may occure.
So i renamed K25hwclock.sh to _K25hwclock.sh 

So ACPI wake up worked flawlessly without since months!


At the 22.Oct i made an "aptitude upgrade":

"Will install 122 packages, and remove 0 packages."


But one package restores the K25hwclock.sh links, making 
wake up failing!

I now link the K25hwclock.sh in irc0.d and rc6.d to  ../init.d/null.sh
in the hope that next time i will get a warning message...

Anyway:
What's the better way?


Can't /etc/init.d/hwclock.sh preserve the wakeup time?

Or: Is there a way to make init.d/hwclock.sh to set the wakeup time?
That would have the advantage to allow several applications to use
that function and that any type of "halt"-command will set 
the wakeup time! (That would be a new project "hardware cron"?)



I assume one of these may have reinstalled the softlink in init?
[UPGRADE] util-linux 2.12p-4 -> 2.12p-4sarge1
[UPGRADE] lm-sensors 1:2.9.1-1 -> 1:2.9.1-1sarge2
[UPGRADE] mlock 7:2002edebian1-11 -> 7:2002edebian1-11sarge1
[UPGRADE] mount 2.12p-4 -> 2.12p-4sarge1






Please drop a copy as i am not subscribed to all debian lists
and i don't know if "util-linux" is the right one.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to