Re: hwclock --adjust in slink

2000-01-19 Thread Shaul Karl
You might want to take a look at the Clock Mini-HOWTO, hwclock and adjtimex about how can you try to keep your sys time right even if the machine is not 24/7. > [...] > > > > In any case, there are hw K scripts: > > > > [18:17:27 /tmp]$ ls /etc/rc?.d/*hw* > > > > /etc/rc0.d/K25hwclock.sh /etc/r

Re: hwclock --adjust in slink

2000-01-18 Thread Clyde Wilson
Edit /etc/init.d/hwclock.sh and comment out the line with adjust on it. This is called when coming up and going down... On Tue, 18 Jan 2000, E.L. Meijer (Eric) wrote: > > > > I did not fully understand you. Does or doesn't the BIOS get the right time > > after the system is shutdown? > > The f

Re: hwclock --adjust in slink

2000-01-18 Thread E.L. Meijer \(Eric\)
[...] > > > In any case, there are hw K scripts: > > > [18:17:27 /tmp]$ ls /etc/rc?.d/*hw* > > > /etc/rc0.d/K25hwclock.sh /etc/rc6.d/K25hwclock.sh > > > /etc/rcS.d/S50hwclock.sh > > > [18:22:27 /tmp]$ > > > > > > Note that your system somehow got S instead of K for rc0 and rc6. > > > I am run

Re: hwclock --adjust in slink

2000-01-18 Thread David Wright
Quoting E.L. Meijer (Eric) ([EMAIL PROTECTED]): > > > > I did not fully understand you. Does or doesn't the BIOS get the right time > > after the system is shutdown? > > The following happens: > > I boot, find the time is lagging behind, and then do a > > hwclock --set --date ... > > This sets

Re: hwclock --adjust in slink

2000-01-18 Thread E.L. Meijer \(Eric\)
> > I did not fully understand you. Does or doesn't the BIOS get the right time > after the system is shutdown? The following happens: I boot, find the time is lagging behind, and then do a hwclock --set --date ... This sets the BIOS clock (not the system time), as I can verify with hwclock -

Re: hwclock --adjust in slink

2000-01-17 Thread Shaul Karl
I did not fully understand you. Does or doesn't the BIOS get the right time after the system is shutdown? In any case, there are hw K scripts: [18:17:27 /tmp]$ ls /etc/rc?.d/*hw* /etc/rc0.d/K25hwclock.sh /etc/rc6.d/K25hwclock.sh /etc/rcS.d/S50hwclock.sh [18:22:27 /tmp]$ Note that your system

hwclock --adjust in slink

2000-01-17 Thread E.L. Meijer \(Eric\)
Hi all, Since the BIOS clock in my PC at home is lagging behind more than 10 minutes per week, I looked into the correction mechanism of hwclock. I am able to set the BIOS clock with hwclock --set --date, and get the expected result if I try hwclock --show. The hwclock is called in a script from