aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-03-11 20:15:39 +0100
committerKarel Kočí <cynerd@email.cz>2017-03-11 20:15:39 +0100
commitec71cdf84cf4c2d38f42fef698e84ae1f2803e71 (patch)
tree442df139f97cc5c39137e2c2d7311d3422dafacc /local
parentde1cb4181f8d92f2c9f2bd6035e80cca6e5d86be (diff)
downloadmyconfigs-ec71cdf84cf4c2d38f42fef698e84ae1f2803e71.tar.gz
myconfigs-ec71cdf84cf4c2d38f42fef698e84ae1f2803e71.tar.bz2
myconfigs-ec71cdf84cf4c2d38f42fef698e84ae1f2803e71.zip
Ping default gateway if no internet connection detected
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/lxc-net2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/bin/lxc-net b/local/bin/lxc-net
index ccefd59..0821571 100755
--- a/local/bin/lxc-net
+++ b/local/bin/lxc-net
@@ -9,7 +9,7 @@ fi
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
+ ip link del dev vbr0
exit
fi