diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-09 22:40:07 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-09 22:40:07 -0700 |
commit | f51be17447504aed009f3b31fd6868f02019445d (patch) | |
tree | 3a82782aa94ad8d760538b00adde68b234b04520 /templates | |
parent | 9597176ac1f7f2ddee37fc78102185e844bca70f (diff) | |
parent | bd48938b3dc1634c64c6d099ccf5d193d94c4019 (diff) | |
download | vyatta-cfg-f51be17447504aed009f3b31fd6868f02019445d.tar.gz vyatta-cfg-f51be17447504aed009f3b31fd6868f02019445d.zip |
Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg into jenner
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.def | 2 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/address/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index c231b74..d4e86c4 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -4,6 +4,6 @@ help: Set ethernet interface syntax:expression: exec \ "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=ethernet" allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet -update: sudo ip link set "$VAR(@)" up +create: sudo ip link set "$VAR(@)" up /opt/vyatta/sbin/vyatta-link-detect $VAR(@) on delete: sudo ip link set "$VAR(@)" down diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def index afbd822..dd4d5fa 100644 --- a/templates/interfaces/ethernet/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/address/node.def @@ -3,7 +3,7 @@ type: txt help: Set an IP address for this interface syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"\ ; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" -update:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@) +create:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@) delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@) allowed: echo "dhcp <>" comp_help:Possible completions: |