[Q] how to deal with 'clock vs hwclock' call
I had a bug reported against apmd because apmd.c somewhat hackishly calls
clock(8) as per
time( &then );
system( "clock -s" );
time( &now );
check_power( 1, 0 );
I have the feeling that I should replace that by a call to a shell script
which also checks for UTC. A really simple version ( which uses the rcS
script maintained by sysvinit ) would be
[ -f /etc/default/rcS ] && . /etc/default/rcS
hwclock $GMT "$@"
But shouldn't something like this be provided by util-linux ?
mailto:firstname.lastname@example.org According to the latest official figures,
http://rosebud.ml.org/~edd 43% of all statistics are totally worthless.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org