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
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
[...]
> > > 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
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
>
> 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 -
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
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
7 matches
Mail list logo