From 3cc5d784f43768b983ef7429a78a9e244beea613 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 26 Apr 2008 20:12:25 -0700 Subject: 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. --- .../interfaces/ethernet/node.tag/disable-link-detect/node.def | 10 ++++++---- .../node.tag/vif/node.tag/disable-link-detect/node.def | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'templates/interfaces') 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" -- cgit v1.2.3