]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - rc.d/init.d/network
- version 0.5.4
[rc-scripts.git] / rc.d / init.d / network
index 5e8cd207361485961756b0daca3af1b1dbdf0216..cf670a74a19899f20252996e10267a07236307d9 100755 (executable)
@@ -168,7 +168,7 @@ find_boot_interfaces() {
                                DEVICE=""; ONBOOT=""; USERS=""; . "$i" 2>/dev/null
                                [ "${DEVICE:+set}" != "set" ] && continue
                                [ ${USERS:-no} != no ] && continue
-                               is_yes ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
+                               is_yes ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
                        done
                `
 
@@ -356,11 +356,7 @@ find_boot_interfaces
 # See how we were called.
 case "$1" in
   start)
-       if is_yes "$VSERVER_ISOLATION_NET"; then
-               touch /var/lock/subsys/network
-       else
-               start
-       fi
+       start
        ;;
   start_init)
        network_init
@@ -374,11 +370,7 @@ case "$1" in
        rm -f /var/lock/subsys/network
        ;;
   stop)
-       if is_yes "$VSERVER_ISOLATION_NET"; then
-               rm -f /var/lock/subsys/network >/dev/null 2>&1
-       else
-               stop
-       fi
+       stop
        ;;
 
   status)
@@ -394,18 +386,11 @@ case "$1" in
        ;;
 
   reload)
-       if is_yes "$VSERVER_ISOLATION_NET"; then
-               exit 0
-       fi
        shift
        reload ${1:+"$@"}
        ;;
 
   restart)
-       if is_yes "$VSERVER_ISOLATION_NET"; then
-               exit 0
-       fi
-
        stop
        start
        ;;