summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-03 10:09:22 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-03 10:09:22 -0800
commitf89daedbc9af721db6e4d34bde0019229423f046 (patch)
tree728bac5756e33ebb6db19fd386d7360668ff16bf /templates
parentc6f60b18bf3c8cd324e73409647b002d40535367 (diff)
downloadvyatta-cfg-quagga-f89daedbc9af721db6e4d34bde0019229423f046.tar.gz
vyatta-cfg-quagga-f89daedbc9af721db6e4d34bde0019229423f046.zip
use vyatta-link-detect
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def
index d37b045e..1aa35123 100644
--- a/templates/interfaces/bonding/node.tag/vif/node.def
+++ b/templates/interfaces/bonding/node.tag/vif/node.def
@@ -5,8 +5,7 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a
create: sudo modprobe 8021q
sudo vconfig add "$VAR(../@)" "$VAR(@)"
sudo ip link set "$VAR(../@).$VAR(@)" up
- vyatta-vtysh -c "configure terminal" \
- -c "interface $VAR(../@).$VAR(@)" -c "link-detect"
+ vyatta-link-detect $VAR(../@).$VAR(@) on
delete: sudo vconfig rem "$VAR(../@).$VAR(@)"
comp_help: possible completions:
<0-4094> Set VLAN ID