diff options
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r-- | templates/interfaces/ethernet/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index 5e3df91..c0547f7 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -7,7 +7,8 @@ syntax:expression: exec " \ exit 1 ; \ fi ; " update: sudo ip link set "$VAR(@)" up - vtysh -c "configure terminal" -c "interface $VAR(@)" -c "link-detect" + ${vyatta_sbindir}/vyatta-vtysh -c "configure terminal" \ + -c "interface $VAR(@)" -c "link-detect" delete: sudo ip link set "$VAR(@)" down allowed: for dev in /sys/class/net/*; do if [[ -d $dev && -L $dev/device ]] |