qwell: branch aadk r956 - /branches/aadk/scripts/networking.sh

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri May 18 09:30:47 MST 2007


Author: qwell
Date: Fri May 18 11:30:47 2007
New Revision: 956

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=956
Log:
Make sure we start ntpd also.

Modified:
    branches/aadk/scripts/networking.sh

Modified: branches/aadk/scripts/networking.sh
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/scripts/networking.sh?view=diff&rev=956&r1=955&r2=956
==============================================================================
--- branches/aadk/scripts/networking.sh (original)
+++ branches/aadk/scripts/networking.sh Fri May 18 11:30:47 2007
@@ -86,6 +86,8 @@
 ifconfig ${LAN_INTERFACE} ${IP_LAN} netmask ${SUBNET_LAN}
 iptables -F
 dnsmasq &
+killall -9 ntpd 2>/dev/null
+ntpd &
 # XXX This will pretty much only work for a /24 XXX
 NETWORK_LAN=`echo "${IP_LAN}" | cut -d '.' -f 1,2,3`
 iptables -t nat -A POSTROUTING -s ${NETWORK_LAN}.0/${SUBNET_LAN} -d 0.0.0.0/0 -j MASQUERADE



More information about the asterisk-gui-commits mailing list