On Sonntag, 11. Januar 2004 01:07, jussx wrote:
> I have emerge ntp and i configured it as client.
> I have edited /etc/ntp.conf in this way:
>
> server blah
> server blah
>
> .
> .
>
> Then i run this cmd : rc-update add ntpd default
>
> The problem is that after i rebooted my comp, ntp.conf is changed and it
> turned to his default configuration, that is,
>
> cat /etc/ntp.conf
>
> estrict default noquery notrust nomodify
> restrict 127.0.0.1
> restrict 192.168.0.0 mask 255.255.255.0
> fudge 127.127.1.0 stratum 3
> server 127.127.1.0
> driftfile /etc/ntp.drift
> logfile /var/log/ntp.log
>
> why?
>
> If i stop and run again the deamon the ntp.conf will not change
> configuration but only if i reboot my comp
>
> Can you help me?


I have fixed this problem with

/etc/conf.d/ntpd :
NTPD_OPTS="-c /etc/ntp.conf.myconf"

(copy your config to ntp.conf.myconf, and be happy :)

~Earny


--
[EMAIL PROTECTED] mailing list

Reply via email to