]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- kill subshell
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Jan 2007 18:47:33 +0000 (18:47 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Jan 2007 18:47:33 +0000 (18:47 +0000)
svn-id: @8191

sysconfig/network-scripts/ifup-routes

index da3a03ba31f9770353921c25a30ed2788c330502..d2fa2d6667cf64273db7d02b038cf07f8fb55ca6 100644 (file)
@@ -11,7 +11,7 @@ fi
 
 # 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
This page took 0.033694 seconds and 4 git commands to generate.