From b9300368b92c8b946894d66beef89fedd0e8720d Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Wed, 5 Dec 2007 12:39:26 -0800 Subject: add link-detect node to interfaces --- templates/interfaces/ethernet/node.tag/link-detect/node.def | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/interfaces/ethernet/node.tag/link-detect/node.def 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 \"; " -- cgit v1.2.3