summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-05 10:18:43 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-05 10:18:43 -0800
commitfdaaa2cf17771ed215db2a5610966055cb47f370 (patch)
treea30419d4d03e3679a4232e5c4851957e17caea49 /templates/interfaces/ethernet/node.def
parent50c357cac4a0ce61bdb47c61a0891a714243a5be (diff)
downloadvyatta-cfg-fdaaa2cf17771ed215db2a5610966055cb47f370.tar.gz
vyatta-cfg-fdaaa2cf17771ed215db2a5610966055cb47f370.zip
Need full path to link-detect
Diffstat (limited to 'templates/interfaces/ethernet/node.def')
-rw-r--r--templates/interfaces/ethernet/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def
index 402b13b..1886458 100644
--- a/templates/interfaces/ethernet/node.def
+++ b/templates/interfaces/ethernet/node.def
@@ -10,7 +10,7 @@ syntax:expression: exec " \
fi"
update: sudo ip link set "$VAR(@)" up
- vyatta-link-detect $VAR(@) on
+ /opt/vyatta/sbin/vyatta-link-detect $VAR(@) on
delete: sudo ip link set "$VAR(@)" down
allowed: for dev in /sys/class/net/eth*;
do if [[ -d $dev && -L $dev/device ]]