diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-20 09:01:44 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-20 09:01:44 -0700 |
commit | 145792aecc9657c3035cdaf34abf4c257e2076de (patch) | |
tree | 2067e2e477f2eff2acfad7cc4113d73d8f9d539b /templates | |
parent | d9834ef6bec586212d9797deea1511e92f0a2040 (diff) | |
download | vyatta-cfg-145792aecc9657c3035cdaf34abf4c257e2076de.tar.gz vyatta-cfg-145792aecc9657c3035cdaf34abf4c257e2076de.zip |
Move disable-link-detect from vytta-cfg-quagga to here
Since some interfaces have link-detect and others do not, move
the template from the generic generated templates to the specific
configuration.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/disable-link-detect/node.def | 3 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def | 3 |
2 files changed, 6 insertions, 0 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 new file mode 100644 index 0000000..83858ec --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/disable-link-detect/node.def @@ -0,0 +1,3 @@ +help: Set to ignore link state changes on this interface +update:/opt/vyatta/sbin/vyatta-link-detect $VAR(../@) on +delete:/opt/vyatta/sbin/vyatta-link-detect $VAR(../@) off 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 new file mode 100644 index 0000000..897113d --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/disable-link-detect/node.def @@ -0,0 +1,3 @@ +help: Set to ignore link state changes on this interface +update:/opt/vyatta/sbin/vyatta-link-detect $VAR(../../@).$VAR(../@) on +delete:/opt/vyatta/sbin/vyatta-link-detect $VAR(../../@).$VAR(../@) off |