Revision: 194
Author: dhartman
Date: 2006-08-01 15:44:44 -0700 (Tue, 01 Aug 2006)
ViewCVS: http://svn.sourceforge.net/astlinux/?rev=194&view=rev
Log Message:
-----------
added second NTP server.
Modified Paths:
--------------
branches/dhartman/package/openntpd/ntpd.init
branches/dhartman/target/generic/target_skeleton/stat/etc/rc.conf
Modified: branches/dhartman/package/openntpd/ntpd.init
===================================================================
--- branches/dhartman/package/openntpd/ntpd.init 2006-08-01 18:15:49 UTC (rev 193)
+++ branches/dhartman/package/openntpd/ntpd.init 2006-08-01 22:44:44 UTC (rev 194)
@@ -7,8 +7,15 @@
then
echo "listen on 0.0.0.0
-servers $NTPSERV" > /tmp/etc/ntpd.conf
+server $NTPSERV" > /tmp/etc/ntpd.conf
fi
+
+if [ "$NTPSERV2" ]
+then
+echo "server $NTPSERV2" >> /tmp/etc/ntpd.conf
+
+fi
+
}
start () {
Modified: branches/dhartman/target/generic/target_skeleton/stat/etc/rc.conf
===================================================================
--- branches/dhartman/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-01 18:15:49 UTC (rev 193)
+++ branches/dhartman/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-01 22:44:44 UTC (rev 194)
@@ -170,6 +170,7 @@
##upon bootup. It is also the server that the running ntpd process will use
##to maintain that time sync.
NTPSERV="128.105.39.11"
+NTPSERV2="north-america.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.
|