aboutsummaryrefslogtreecommitdiff
path: root/local/bin/lxc-net
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-03-05 20:36:05 +0100
committerKarel Kočí <cynerd@email.cz>2017-03-05 20:36:05 +0100
commit0092830d5a284d1e8124286ffbc7c2c8663c8332 (patch)
tree372bd59cc469afb48ad5b6df63577e7f255ec5b8 /local/bin/lxc-net
parent25c96065447c433d38814f2076991773c45e619d (diff)
downloadmyconfigs-0092830d5a284d1e8124286ffbc7c2c8663c8332.tar.gz
myconfigs-0092830d5a284d1e8124286ffbc7c2c8663c8332.tar.bz2
myconfigs-0092830d5a284d1e8124286ffbc7c2c8663c8332.zip
On lxc-net clean exit not set up again
Diffstat (limited to 'local/bin/lxc-net')
-rwxr-xr-xlocal/bin/lxc-net1
1 files changed, 1 insertions, 0 deletions
diff --git a/local/bin/lxc-net b/local/bin/lxc-net
index a1725fc..ccefd59 100755
--- a/local/bin/lxc-net
+++ b/local/bin/lxc-net
@@ -10,6 +10,7 @@ if [ "$1" = "clean" ]; then
kill $(cat /tmp/lxc-dhcpd.pid)
rm -f /tmp/lxc-dhcpd.pid /tmp/lxc-dhcpd.conf
ip link del name vbr0
+ exit
fi
# Setup bridge