summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRobert Bays <rbays@lenny.vyatta.com>2008-01-15 20:58:46 -0800
committerRobert Bays <rbays@lenny.vyatta.com>2008-01-15 20:58:46 -0800
commit257510b24684243bf1358e455c067a2e824b97f9 (patch)
tree82892e2391b28e3dc47b9ca580c64d0eeed9e943 /templates
parentce32d73e40ef3d1c4820d4b898daf3e432d7b692 (diff)
downloadvyatta-cfg-quagga-257510b24684243bf1358e455c067a2e824b97f9.tar.gz
vyatta-cfg-quagga-257510b24684243bf1358e455c067a2e824b97f9.zip
fix for bug 2534 and prep for larson's vif link detect fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/disable-link-detect/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
new file mode 100644
index 00000000..e579b418
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
@@ -0,0 +1,5 @@
+help: "ignore link state changes on this interface"
+update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"no link-detect\"; "
+delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"link-detect \"; "