diff options
-rw-r--r-- | templates/interfaces/ethernet/node.tag/disable-link-detect/node.def | 4 |
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" |