summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-12-05 12:39:26 -0800
committerRobert Bays <rbays@moresby.(none)>2007-12-05 12:39:26 -0800
commitb9300368b92c8b946894d66beef89fedd0e8720d (patch)
tree0dea22ccf772bfaee702ca1a7d3e614b9e2d32fb /templates
parent8fee61a7f316d9ad82f03627b85ce3a016170a32 (diff)
downloadvyatta-cfg-quagga-b9300368b92c8b946894d66beef89fedd0e8720d.tar.gz
vyatta-cfg-quagga-b9300368b92c8b946894d66beef89fedd0e8720d.zip
add link-detect node to interfaces
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/link-detect/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/link-detect/node.def b/templates/interfaces/ethernet/node.tag/link-detect/node.def
new file mode 100644
index 00000000..c9d356d0
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/link-detect/node.def
@@ -0,0 +1,5 @@
+help: "detect link state changes"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"link-detect"
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"no link-detect \"; "