summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"