diff options
author | Karel Kočí <cynerd@email.cz> | 2017-03-05 20:36:05 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-03-05 20:36:05 +0100 |
commit | 0092830d5a284d1e8124286ffbc7c2c8663c8332 (patch) | |
tree | 372bd59cc469afb48ad5b6df63577e7f255ec5b8 /local/bin/lxc-net | |
parent | 25c96065447c433d38814f2076991773c45e619d (diff) | |
download | myconfigs-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-x | local/bin/lxc-net | 1 |
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 |