X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rc.d%2Finit.d%2Fnetwork;h=cf670a74a19899f20252996e10267a07236307d9;hb=HEAD;hp=b44e29119d96f4d1a45fa747cd5d1d8c82b55717;hpb=71629b55d4086325ea8e7f34801d05ae5385c352;p=rc-scripts.git diff --git a/rc.d/init.d/network b/rc.d/init.d/network index b44e291..cf670a7 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -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 ;;