Revision: 5355 http://ipcop.svn.sourceforge.net/ipcop/?rev=5355&view=rev Author: owes Date: 2011-01-17 20:32:54 +0000 (Mon, 17 Jan 2011)
Log Message: ----------- Testing on running service will not work when installing. Fixed. Modified Paths: -------------- ipcop/trunk/src/scripts/upgrade.sh Modified: ipcop/trunk/src/scripts/upgrade.sh =================================================================== --- ipcop/trunk/src/scripts/upgrade.sh 2011-01-17 14:34:36 UTC (rev 5354) +++ ipcop/trunk/src/scripts/upgrade.sh 2011-01-17 20:32:54 UTC (rev 5355) @@ -14,7 +14,8 @@ # Tweak ntp.conf file if NTPd is running (modified in 1.9.11) -if [ -e /var/run/ntpd.pid ]; then +TMP=`grep "ENABLED_NTP=on" /var/ipcop/time/settings` +if [ "x$TMP" != "x" ]; then /bin/sed -i -e "s+^fudge\s*127\.127\.1\.0.*+fudge 127.127.1.0 stratum 7+" \ -e "s+^driftfile.*+driftfile /var/log/ntp/drift+" /var/ipcop/time/ntp.conf fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn