Tuesday, April 10, 2007

More clockwrestling....

Of course things couldn't be so simple as I thought they were. I'd forgotten that great property of PCs: They reboot.

And then I discovered that adjtimex, being such an ancient piece of technology, didn't keep state - and neither did it have a standard /etc/ file to put its adjustments in.

Finally I found that if I just added this single line to /etc/rc.local, everything would be dandy:

/usr/sbin/adjtimex --tick 9985 --freq 0

In the Old Times, /etc/rc.local was for local adaptions of your init scripts. Now, of course, we all do it by pointing, clicking and headscratching. And /etc/rc.local comes full of interesting stuff from your friendly Linux distribution vendor.

At least the headscratching hasn't changed.