Author: arekm
Date: Sat Feb 21 13:43:13 2009
New Revision: 10135

Modified:
   rc-scripts/trunk/rc.d/rc
   rc-scripts/trunk/sysconfig/network-scripts/functions.network
Log:
Comparsion correction.

Modified: rc-scripts/trunk/rc.d/rc
==============================================================================
--- rc-scripts/trunk/rc.d/rc    (original)
+++ rc-scripts/trunk/rc.d/rc    Sat Feb 21 13:43:13 2009
@@ -123,7 +123,7 @@
        export kscripts
 fi
 
-if test "$previous" == "N" -a "$runlevel" == "5" ; then
+if test "$previous" = "N" -a "$runlevel" = "5" ; then
        export progress=16
        sscripts=$(( $sscripts + 15 ))
 else

Modified: rc-scripts/trunk/sysconfig/network-scripts/functions.network
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/functions.network        
(original)
+++ rc-scripts/trunk/sysconfig/network-scripts/functions.network        Sat Feb 
21 13:43:13 2009
@@ -451,7 +451,7 @@
                        done
                elif is_no "$1"; then
                        LC_ALL=C /sbin/ip rule show | egrep -v -e "from all 
lookup (main|default|local) \$" -e " map-to " | while read prio from src args; 
do
-                               [ "$src" == "all" ] && ip rule delete $args || 
ip rule delete $from $src $args
+                               [ "$src" = "all" ] && ip rule delete $args || 
ip rule delete $from $src $args
                        done
                fi
        fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to