summaryrefslogtreecommitdiff
path: root/templates
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
parent50c357cac4a0ce61bdb47c61a0891a714243a5be (diff)
downloadvyatta-cfg-fdaaa2cf17771ed215db2a5610966055cb47f370.tar.gz
vyatta-cfg-fdaaa2cf17771ed215db2a5610966055cb47f370.zip
Need full path to link-detect
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.def2
2 files changed, 2 insertions, 2 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 ]]
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def
index 4d0350b..b86a89c 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: sudo modprobe 8021q
sudo vconfig add "$VAR(../@)" "$VAR(@)"
sudo ip link set "$VAR(../@).$VAR(@)" up
- vyatta-link-detect "$VAR(../@).$VAR(@)" on
+ /opt/vyatta/sbin/vyatta-link-detect "$VAR(../@).$VAR(@)" on
delete: sudo vconfig rem "$VAR(../@).$VAR(@)"
comp_help: possible completions:
<0-4094> Set VLAN ID