summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-01-21 16:34:28 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-01-21 16:34:28 -0800
commit48ee3c96852c6697259919da82e3eabfd6becb6e (patch)
treeb7b0cd2ea238f851e040106296a092b609377bde
parent399b6c33726392e9cc7272812e0c61e59a310314 (diff)
downloadvyatta-cfg-quagga-48ee3c96852c6697259919da82e3eabfd6becb6e.tar.gz
vyatta-cfg-quagga-48ee3c96852c6697259919da82e3eabfd6becb6e.zip
need to reverse logic for command to quagga too.
-rw-r--r--templates/interfaces/ethernet/node.tag/disable-link-detect/node.def4
1 files changed, 2 insertions, 2 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
index 5d779c71..b7dee25b 100644
--- a/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
@@ -1,9 +1,9 @@
help: "ignore link state changes on this interface"
update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \
- -c \"link-detect\" \
+ -c \"no link-detect\" \
&& \\${vyatta_sbindir}/vyatta-linkstatus.pl --add $(../@) 2>/dev/null"
delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \
- -c \"no link-detect \" \
+ -c \"link-detect \" \
&& \\${vyatta_sbindir}/vyatta-linkstatus.pl --del $(../@) 2>/dev/null"