On Friday 16 March 2007 10:22, Dave Howorth wrote: > Roger Oberholtzer wrote: > > This is probably a hardware issue, but I need to see how to investigate: > > How could I get SUSE to record what the hardware time was when it boots, > > before making any changes, and then what it is after any changes? Same > > thing on power down. I guess this is tricky because these things > > probably happen when there are no disks mounted. Any ideas? I know I > > could check the BIOS each time. But I am not sure I can get the users to > > do this reliably. > > > > Any ideas or suggestions? > > To go back to your original question. The time is set by > /etc/init.d/boot.clock when called from the various rc directories. I > believe you could hack that script so it writes the hw time to a disk > file before it changes anything. You might also need to either hack the > script some more or rename the appropriate rc files so it isn't called > until some disk is mounted.
Root partition is mounted when you read /etc/init.d/boot.clock :-) -- Regards, Rajko. http://en.opensuse.org/Portal -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
