dbailey: branch aadk r1154 - /branches/aadk/scripts/networking.sh
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Jun 22 14:22:14 CDT 2007
Author: dbailey
Date: Fri Jun 22 14:22:13 2007
New Revision: 1154
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1154
Log:
got rid of typo in grep statement used to determine preexisting gateways
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=1154&r1=1153&r2=1154
==============================================================================
--- branches/aadk/scripts/networking.sh (original)
+++ branches/aadk/scripts/networking.sh Fri Jun 22 14:22:13 2007
@@ -66,7 +66,7 @@
killall -HUP ${INETD_PROCNAME}
# Delete old default gateways in the routing table
-OLDGATEWAY=`route -n | grep ^0.0.0.0 | grep UG | cut -c 17-32`
+OLDGATEWAY=`route -n | grep 0.0.0.0 | grep UG | cut -c 17-32`
if [ "${OLDGATEWAY}" != "" ]; then
for i in $OLDGATEWAY; do
route delete default gw $i;
More information about the asterisk-gui-commits
mailing list