summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-04-14 13:20:30 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-04-14 13:20:30 -0700
commitb263eb4bb4175b7c195351b343f3d2b1636bedf9 (patch)
treedf26f3e43bc3dd81d57d8821704301a9f68376b0
parent50b129eb6a6b4354394d3ae062674d7f3094a75d (diff)
downloadvyatta-op-b263eb4bb4175b7c195351b343f3d2b1636bedf9.tar.gz
vyatta-op-b263eb4bb4175b7c195351b343f3d2b1636bedf9.zip
"show bridge brX" doesn't work. Use full path to brctl.
-rw-r--r--templates/show/bridge/node.tag/macs/node.def2
-rw-r--r--templates/show/bridge/node.tag/node.def2
-rw-r--r--templates/show/bridge/node.tag/spanning-tree/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/show/bridge/node.tag/macs/node.def b/templates/show/bridge/node.tag/macs/node.def
index 598a209..160b236 100644
--- a/templates/show/bridge/node.tag/macs/node.def
+++ b/templates/show/bridge/node.tag/macs/node.def
@@ -1,2 +1,2 @@
help: Show bridge MAC table
-run: brctl showmacs "$3"
+run: /usr/sbin/brctl showmacs "$3"
diff --git a/templates/show/bridge/node.tag/node.def b/templates/show/bridge/node.tag/node.def
index 0b4f163..dd59fca 100644
--- a/templates/show/bridge/node.tag/node.def
+++ b/templates/show/bridge/node.tag/node.def
@@ -2,4 +2,4 @@ help: Show bridge information for a given bridge
allowed: local -a array ;
array=( /sys/class/net/br* ) ;
echo -n ${array[@]##*/}
-run: brctl show "$3"
+run: /usr/sbin/brctl show "$3"
diff --git a/templates/show/bridge/node.tag/spanning-tree/node.def b/templates/show/bridge/node.tag/spanning-tree/node.def
index b3e06e8..3921867 100644
--- a/templates/show/bridge/node.tag/spanning-tree/node.def
+++ b/templates/show/bridge/node.tag/spanning-tree/node.def
@@ -1,2 +1,2 @@
help: Show bridge spanning tree information
-run: brctl showstp "$3"
+run: /usr/sbin/brctl showstp "$3"