From: <kr...@us...> - 2007-02-19 18:40:59
|
Revision: 610 http://svn.sourceforge.net/astlinux/?rev=610&view=rev Author: krisk84 Date: 2007-02-19 10:40:22 -0800 (Mon, 19 Feb 2007) Log Message: ----------- various ntpd fixes - thanks Lonnie Modified Paths: -------------- trunk/package/openntpd/ntpd.init trunk/target/generic/target_skeleton/stat/etc/rc.conf Modified: trunk/package/openntpd/ntpd.init =================================================================== --- trunk/package/openntpd/ntpd.init 2007-02-19 17:05:26 UTC (rev 609) +++ trunk/package/openntpd/ntpd.init 2007-02-19 18:40:22 UTC (rev 610) @@ -3,12 +3,17 @@ . /etc/rc.conf init () { +if [ -r /mnt/kd/ntpd.conf ] +then +ln -s /mnt/kd/ntpd.conf /tmp/etc/ntpd.conf +else if [ "$NTPSERV" ] then echo "listen on 0.0.0.0 -servers $NTPSERV" > /tmp/etc/ntpd.conf +server $NTPSERV" > /tmp/etc/ntpd.conf fi +fi } start () { Modified: trunk/target/generic/target_skeleton/stat/etc/rc.conf =================================================================== --- trunk/target/generic/target_skeleton/stat/etc/rc.conf 2007-02-19 17:05:26 UTC (rev 609) +++ trunk/target/generic/target_skeleton/stat/etc/rc.conf 2007-02-19 18:40:22 UTC (rev 610) @@ -227,7 +227,13 @@ ##Master NTP server. This is the NTP server that AstLinux will sync against ##upon bootup. It is also the server that the running ntpd process will use ##to maintain that time sync. -NTPSERV="128.105.39.11" +NTPSERV="us.pool.ntp.org" +#NTPSERV="europe.pool.ntp.org" +#NTPSERV="north-america.pool.ntp.org" +#NTPSERV="south-america.pool.ntp.org" +#NTPSERV="asia.pool.ntp.org" +#NTPSERV="oceania.pool.ntp.org" +#NTPSERV="africa.pool.ntp.org" ##Dynamic DNS Support ##For a list of valid DDSERVICE names, see the ouput of "inadyn". This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |