summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-21 16:31:28 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-21 16:31:28 -0700
commit03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0 (patch)
tree4fae73e37366d87f735ca4857841a5dd65834e4a /templates
parent6ec19ddffc7ff6d8806a913314ceee6565d132c9 (diff)
parent7fd560b72df1b327b4b47a6232dfcf16d6fae52c (diff)
downloadvyatta-cfg-03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0.tar.gz
vyatta-cfg-03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0.zip
Merge branch 'glendale' into hollywood
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def
index 5374761..7ee3b50 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.def
@@ -5,7 +5,7 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a
create:expression: "sudo modprobe 8021q"; "Error loading 802.1q driver"
create:expression: "sudo vconfig add $VAR(../@) $VAR(@)"; "Error adding VLAN id $VAR(@) to dev $VAR(../@)"
create:expression: "sudo ip link set $VAR(../@).$VAR(@) up"; "Error enabling VLAN id $VAR(@) on dev $VAR(../@)"
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\"\
+create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\"\
-c \"interface $VAR(../@).$VAR(@)\" \
-c \"link-detect\"; "
delete:expression: "sudo vconfig rem $VAR(../@).$VAR(@)"; "Error removing VLAN id $VAR(@) from dev $VAR(../@)"