X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rc.d%2Finit.d%2Fnetfs;fp=rc.d%2Finit.d%2Fnetfs;h=19738b780a395d0025a96d73bd2628d9f59ec6cb;hb=4404a269deb7ef3202edfe76ce89af0fb81c5bf2;hp=ab00e6dda4ccd81b0d67cc021abf703a613a5501;hpb=709875e895a085534cc77a44524c0a7ee2b9c7f8;p=rc-scripts.git diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index ab00e6d..19738b7 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -15,7 +15,7 @@ . /etc/rc.d/init.d/cryptsetup . /etc/sysconfig/network -if is_yes "$VSERVER" || [[ "$container" = lxc* ]]; then +if [[ "$container" = lxc* ]]; then exit 0 fi @@ -173,28 +173,16 @@ RETVAL=0 # See how we were called. case "$1" in start) - if is_yes "$VSERVER_ISOLATION_NET"; then - exit 0 - fi start ;; stop) - if is_yes "$VSERVER_ISOLATION_NET"; then - exit 0 - fi stop ;; restart) - if is_yes "$VSERVER_ISOLATION_NET"; then - exit 0 - fi stop start ;; reload) - if is_yes "$VSERVER_ISOLATION_NET"; then - exit 0 - fi start ;; status)