summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-25 14:40:06 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-25 14:40:06 -0700
commitbe583e255cfcc787944ebf9a9a73bda7a8e064f3 (patch)
tree02e5377e818d1bfb2fc187d24f90f0e96e21c761 /templates
parent69b0e51b4a3afeb6cf1fb8893c3e705412d988b0 (diff)
downloadvyatta-cfg-quagga-be583e255cfcc787944ebf9a9a73bda7a8e064f3.tar.gz
vyatta-cfg-quagga-be583e255cfcc787944ebf9a9a73bda7a8e064f3.zip
Remove linkstatus script
Watchlink is no longer used/needed
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/disable-link-detect/node.def7
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def6
2 files changed, 4 insertions, 9 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 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\"