]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Really fake network start if VSERVER_ISOLATION_NET is set.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Mar 2014 18:09:58 +0000 (19:09 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Mar 2014 18:09:58 +0000 (19:09 +0100)
rc.d/init.d/network

index 06a501230b34fcce5a488443b492c14ce7ae2133..cca3795f721daaa87a06a2058f7b9bee13a6b69b 100755 (executable)
@@ -372,8 +372,9 @@ case "$1" in
                emit pld.network-started
                emit --no-wait started JOB=network
                exit 0
+       else
+               start
        fi
-       start
        ;;
   start_init)
        network_init
@@ -394,8 +395,9 @@ case "$1" in
                emit pld.network-stopped
                emit --no-wait stopped JOB=network
                exit 0
+       else
+               stop
        fi
-       stop
        ;;
 
   status)
This page took 0.37839 seconds and 4 git commands to generate.