SVN: rc-scripts/trunk/sysconfig/network-scripts/ifup-routes

glen glen at pld-linux.org
Mon Jan 22 19:47:33 CET 2007


Author: glen
Date: Mon Jan 22 19:47:33 2007
New Revision: 8191

Modified:
   rc-scripts/trunk/sysconfig/network-scripts/ifup-routes
Log:
- kill subshell

Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup-routes
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifup-routes	(original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifup-routes	Mon Jan 22 19:47:33 2007
@@ -11,7 +11,7 @@
 
 # note the trailing white space character in the grep gets rid of aliases
 egrep "^($DEVICE|any)[[:blank:]]" /etc/sysconfig/static-routes | while read device args; do
-	if (echo $args | grep -q ":") then
+	if [[ "$args" = *:* ]]; then
 		if is_no "$IPV6_NETWORKING"; then
 			continue
 		fi


More information about the pld-cvs-commit mailing list