|
From: Bruce S. <bl...@us...> - 2005-07-26 18:47:44
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5500/scripts/scripts Modified Files: Tag: rel-1-2-patches ntp.conf setup Log Message: NTP configuration sucks! Index: setup =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/setup,v retrieving revision 1.20.2.4 retrieving revision 1.20.2.5 diff -u -d -r1.20.2.4 -r1.20.2.5 --- setup 25 Jul 2005 20:20:33 -0000 1.20.2.4 +++ setup 26 Jul 2005 18:47:35 -0000 1.20.2.5 @@ -20,6 +20,7 @@ DHCPDCONF="/etc/dhcpd.conf" NICDIR="/etc/sysconfig/nic" NTPCONF="/etc/ntp.conf" +NTPST="/etc/ntp/step-tickers" INITDIR="/etc/init.d" RESOLVE="/etc/resolv.conf" RESULT="/tmp/setup-result" @@ -877,6 +878,8 @@ head -n$l ${NTPCONF}.temp > ${NTPCONF} fi [ ${#NTPSERVER} -gt 0 ] && echo "server $NTPSERVER" >> $NTPCONF + [ ! -f ${NTPST}.org -a -f $NTPST ] && mv $NTPST ${NTPST}.org + echo "$NTPSERVER" > $NTPST ;; esac else Index: ntp.conf =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/ntp.conf,v retrieving revision 1.3 retrieving revision 1.3.8.1 diff -u -d -r1.3 -r1.3.8.1 --- ntp.conf 6 Apr 2002 01:38:32 -0000 1.3 +++ ntp.conf 26 Jul 2005 18:47:34 -0000 1.3.8.1 @@ -38,7 +38,7 @@ # authentication facility you should make the programs in the auth_stuff # directory and figure out what this number should be on your machine. # -authenticate no +#authenticate no # # Keys file. If you want to diddle your server at run time, make a |