diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-01-21 16:14:15 -0800 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-01-21 16:14:15 -0800 |
commit | 399b6c33726392e9cc7272812e0c61e59a310314 (patch) | |
tree | 1e86048ca6c9be47138ee75563bad12336c9c85b /templates | |
parent | bb07b74caf1d98e51ec4a6bff130fbd48ad5f0db (diff) | |
download | vyatta-cfg-quagga-399b6c33726392e9cc7272812e0c61e59a310314.tar.gz vyatta-cfg-quagga-399b6c33726392e9cc7272812e0c61e59a310314.zip |
moved linkstatus exclusion hook to follow roberts change (i.e. link-detect -> disable-link-detect)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/disable-link-detect/node.def | 8 |
1 files changed, 6 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 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" + |