X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sbin%2Fgrml-vnet;h=ccf62e93ff45a190fc8c68cc3c4fe26b93d6cde7;hb=4073ed0aaffad28c78bc68cbf6a08e39dfe778ba;hp=109cc6ff9180a273e282f677b92ebbf5a46c30d8;hpb=8fa73cd0defbd9b9976ed45f6067491cb805aaea;p=grml-network.git diff --git a/sbin/grml-vnet b/sbin/grml-vnet index 109cc6f..ccf62e9 100755 --- a/sbin/grml-vnet +++ b/sbin/grml-vnet @@ -104,6 +104,7 @@ else if [[ $OPT_BRIDGE_ != '' && $OPT_AUTO_ == 'true' ]]; then tmp_="`brctl showmacs "$OPT_BRIDGE_" |wc -l`" if (( $tmp_ == 1 )); then + ip link set down dev "$OPT_BRIDGE_" brctl delbr "$OPT_BRIDGE_" else die "E: bridge $OPT_BRIDGE_ not empty, not removing"