diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-30 15:26:58 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-30 15:26:58 -0700 |
commit | c97f9d4375f4527001762cde625c96b2cc516dc8 (patch) | |
tree | 47077f75306d0219de592f169552bc897bf2bf17 /templates/interfaces/ethernet/node.def | |
parent | f5553dcfb12f600dad8f766be887e9cd18d68847 (diff) | |
download | vyatta-cfg-c97f9d4375f4527001762cde625c96b2cc516dc8.tar.gz vyatta-cfg-c97f9d4375f4527001762cde625c96b2cc516dc8.zip |
Use vtysh directly
No longer need the perl wrapper for vtysh. The options and logging
have been folded into it.
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r-- | templates/interfaces/ethernet/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index 1049f3e..1c52675 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -7,7 +7,7 @@ syntax:expression: exec " \ exit 1 ; \ fi ; " update:expression: "sudo ip link set $VAR(@) up" ; "Error enabling dev $VAR(@)" -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(@)\" \ +update:expression: "vyatta-vtysh -c \"configure terminal\" -c \"interface $VAR(@)\" \ -c \"link-detect\"; " delete:expression: "sudo ip link set $VAR(@) down" ; "Error disabling dev $VAR(@)" allowed: for dev in /sys/class/net/*; |