From be583e255cfcc787944ebf9a9a73bda7a8e064f3 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 25 Apr 2008 14:40:06 -0700 Subject: Remove linkstatus script Watchlink is no longer used/needed --- .../interfaces/ethernet/node.tag/disable-link-detect/node.def | 7 ++----- .../ethernet/node.tag/vif/node.tag/disable-link-detect/node.def | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'templates') 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 4d597867..12cec253 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,6 @@ 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\" \ - && ${vyatta_sbindir}/vyatta-linkstatus.pl --add $VAR(../@) 2>/dev/null" - + -c \"no link-detect\" delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../@)\" \ - -c \"link-detect \" \ - && ${vyatta_sbindir}/vyatta-linkstatus.pl --del $VAR(../@) 2>/dev/null" + -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 4c2481ef..4b043c11 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,9 +1,7 @@ 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\" \ - && ${vyatta_sbindir}/vyatta-linkstatus.pl --add $VAR(../../@).$VAR(../@) 2>/dev/null" + -c \"no link-detect\" delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $VAR(../../@).$VAR(../@)\" \ - -c \"link-detect \" \ - && ${vyatta_sbindir}/vyatta-linkstatus.pl --del $VAR(../../@).$VAR(../@) 2>/dev/null" + -c \"link-detect\" -- cgit v1.2.3