summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-26 20:12:25 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-26 20:12:25 -0700
commit3cc5d784f43768b983ef7429a78a9e244beea613 (patch)
tree64d573bcaf604217e814243afb2faa4e2ebd29b4
parentbe583e255cfcc787944ebf9a9a73bda7a8e064f3 (diff)
downloadvyatta-cfg-quagga-3cc5d784f43768b983ef7429a78a9e244beea613.tar.gz
vyatta-cfg-quagga-3cc5d784f43768b983ef7429a78a9e244beea613.zip
Fix typo in node.def (from linkwatch removal)
The disable-link-detect template was missing a quote. So just convert it over to current syntax.
-rw-r--r--templates/interfaces/ethernet/node.tag/disable-link-detect/node.def10
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def10
2 files changed, 12 insertions, 8 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 12cec253..93b32142 100644
--- a/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def
@@ -1,6 +1,8 @@
help: ignore link state changes on this interface
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../@)\" \
- -c \"no link-detect\"
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../@)\" \
- -c \"link-detect \"
+update:${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../@)" \
+ -c "no link-detect"
+delete:${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../@)" \
+ -c "link-detect"
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def
index 4b043c11..7f2d3ab1 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def
@@ -1,7 +1,9 @@
help: ignore link state changes on this interface
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../../@).$VAR(../@)\" \
- -c \"no link-detect\"
+update:${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal\" \
+ -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "no link-detect"
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../../@).$VAR(../@)\" \
- -c \"link-detect\"
+delete:${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "link-detect"