diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-03 10:31:32 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-03 10:31:32 -0800 |
commit | bdcd55d8a3051473e523c453595da05e3ad8a74b (patch) | |
tree | 857e65cb576e43c44b70cddd37765d1bd58e96a9 /templates/interfaces/multilink | |
parent | afcfa35d5c0c18228fe9003f9fd6249e9d56f80b (diff) | |
download | vyatta-cfg-quagga-bdcd55d8a3051473e523c453595da05e3ad8a74b.tar.gz vyatta-cfg-quagga-bdcd55d8a3051473e523c453595da05e3ad8a74b.zip |
Use new link-detect script
Wrap direct calls to vyatta-vtysh to set link-detect in new script.
Diffstat (limited to 'templates/interfaces/multilink')
-rw-r--r-- | templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def index ed220d3d..4cd557d9 100644 --- a/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def +++ b/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def @@ -1,8 +1,3 @@ help: ignore link state changes on this interface -update: vyatta-vtysh -c "configure terminal" \ - -c "interface $VAR(../../@).$VAR(../@)" \ - -c "no link-detect" -delete: vyatta-vtysh -c "configure terminal" \ - -c "interface $VAR(../../@).$VAR(../@)" \ - -c "link-detect" - +update:vyatta-link-detect "$VAR(../../@).$VAR(../@)" on +delete:vyatta-link-detect "$VAR(../../@).$VAR(../@)" off |