From 399b6c33726392e9cc7272812e0c61e59a310314 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Mon, 21 Jan 2008 16:14:15 -0800 Subject: moved linkstatus exclusion hook to follow roberts change (i.e. link-detect -> disable-link-detect) --- .../interfaces/ethernet/node.tag/disable-link-detect/node.def | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 e579b418..5d779c71 100644 --- a/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def +++ b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def @@ -1,5 +1,9 @@ help: "ignore link state changes on this interface" update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \ - -c \"no link-detect\"; " + -c \"link-detect\" \ + && \\${vyatta_sbindir}/vyatta-linkstatus.pl --add $(../@) 2>/dev/null" + delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@)\" \ - -c \"link-detect \"; " + -c \"no link-detect \" \ + && \\${vyatta_sbindir}/vyatta-linkstatus.pl --del $(../@) 2>/dev/null" + -- cgit v1.2.3