mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] MLDonkey + ntp -> MLDonkey strikes


From: Der Lockruf des Kaos
Subject: Re: [Mldonkey-users] MLDonkey + ntp -> MLDonkey strikes
Date: Mon, 18 Aug 2003 21:38:44 +0200

> what distro of linux are you running? usually this is taken care of for you.

I'm using LFS.
This is the script what is execute every Time

"/etc/sysconfig/clock" contains 1 Line:  UTC="1" 

source /etc/init.d/functions
source /etc/sysconfig/clock
case "$1" in
        start)
        case "$UTC" in
                yes|true|1)
                /sbin/hwclock --hctosys --utc
                ;;
                no|false|0)
                /sbin/hwclock --hctosys --localtime
                ;;
        *)
        echo "Invalid value for UTC in /etc/sysconfig/clock: $UTC"
        echo "Valid values for UTC are 1 and 0."
        exit 1
        ;;
        esac
        ;;
        stop)
        case "$UTC" in
                yes|true|1)
                /sbin/hwclock --systohc --utc
                ;;
                no|false|0)
                /sbin/hwclock --systohc --localtime
                ;;
        *)
        echo "Invalid value for UTC in /etc/sysconfig/clock: $UTC"
        echo "Valid values for UTC are 1 and 0."
        exit 1
        ;;
        esac
        ;;
        *)
        echo "Usage: $0 {start|stop}"
        exit 1
        ;;
esac



So i thought it should be right, i'm using UTC Time and the Script does 
"/sbin/hwclock --hctosys --utc"
and
"/sbin/hwclock --systohc --utc"


> but at anyrate ... 'man hwclock' (query and set the hardware clock)

I'm reading the manpage and playing around with the options...
For now the Time is right. Perhaps if i boot next it will work :)



PS: Sorry, that i posted my first Mail as Reply to "Thomas Uwe Gruettmueller", 
i unfortunately used the Reply Button.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]