Manuel Arenaz Silva [EMAIL PROTECTED] wrote:
> The file /etc/adjtime has the following two lines:
> 
> cambados:~# cat /etc/adjtime
> -115.758041 945099084 0.000000
> 945097761
> 
> Is it important the fact that it has two lines?

        It depends. If you want your system clock(the time you see in
        linux) to be exactly the same as your hardware clock(The time
        kept in your computer), then no. YOu can just delete them.

        If you want those two times to be different. Then yes.

> Another question: What command do I have to use in order to set the clock up?

        To set your hardware clock:

                hwclock --set --date="the current time";

        Now, transfer your hardware clock to your system clock:

                hwclock --hctosys

        Now, you system clock should be the exactly the same as your
        hardware clock. To make sure the time consistent after reboot,

                rm /etc/adjtime

        Then you should be fine....

Shao.


-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]                                                  |___/ 
_____________________________________________________________________________

Reply via email to