diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-02-27 19:03:52 -0800 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-02-27 19:03:52 -0800 |
commit | 81663d98da1b5841f778c389f418a4a3f1a8ae2a (patch) | |
tree | 16df1850e61f279c8b3ddc93abf5e20cce63fd43 | |
parent | c3709a21b6f6f33ff7730385ce2170b046efa178 (diff) | |
parent | 92bf151c588e3963c658863daa2db3415426cdfb (diff) | |
download | vyatta-cfg-quagga-81663d98da1b5841f778c389f418a4a3f1a8ae2a.tar.gz vyatta-cfg-quagga-81663d98da1b5841f778c389f418a4a3f1a8ae2a.zip |
Merge branch 'jenner' of mohit@git.vyatta.com:/git/vyatta-cfg-system into jenner
-rw-r--r-- | templates/interfaces/bridge/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/bridge/node.def b/templates/interfaces/bridge/node.def index cbf5e9cc..e70c9041 100644 --- a/templates/interfaces/bridge/node.def +++ b/templates/interfaces/bridge/node.def @@ -5,8 +5,9 @@ help: Set bridge interface syntax:expression: pattern $VAR(@) "^br[0-9]+$" ; "Must be (br0 - br999)" create: sudo brctl addbr $VAR(@) + sudo ip link set $VAR(@) up -delete: if [ -z `ls /sys/class/net/$VAR(@)/brif` ]; then +delete: if [ -n "`ls /sys/class/net/$VAR(@)/brif`" ]; then echo "Interfaces are still assigned to bridge $VAR(@)"; exit 1; fi; |