summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwald van Geffen <ewald@abcdef.be>2016-12-11 22:52:35 +0100
committerEwald van Geffen <ewald@abcdef.be>2016-12-11 22:52:35 +0100
commit5bcdfaec5070a3eac32dca289167dc995db75b6b (patch)
tree3ec0aec3ea343b2900eb139137dbf0e88af111f5
parent24fce18b11bc636854ad0c928d162a5a0233afe5 (diff)
downloadvyatta-op-5bcdfaec5070a3eac32dca289167dc995db75b6b.tar.gz
vyatta-op-5bcdfaec5070a3eac32dca289167dc995db75b6b.zip
T207: modified brctl location
-rwxr-xr-xfunctions/tech-support6
-rw-r--r--templates/show/bridge/node.def2
-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
5 files changed, 7 insertions, 7 deletions
diff --git a/functions/tech-support b/functions/tech-support
index 680dc09..e4602d2 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -122,11 +122,11 @@ header Number of incomplete entries in ARP table
show arp | grep incomplete | wc -l
header Bridge
-/usr/sbin/brctl show
+/sbin/brctl show
for br in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=bridge)
do header "Bridge Information for $br"
- /usr/sbin/brctl showstp $br
- /usr/sbin/brctl showmacs $br
+ /sbin/brctl showstp $br
+ /sbin/brctl showmacs $br
done
header Serial
diff --git a/templates/show/bridge/node.def b/templates/show/bridge/node.def
index a1ed782..86d0193 100644
--- a/templates/show/bridge/node.def
+++ b/templates/show/bridge/node.def
@@ -1,2 +1,2 @@
help: Show bridging information
-run: /usr/sbin/brctl show
+run: /sbin/brctl show
diff --git a/templates/show/bridge/node.tag/macs/node.def b/templates/show/bridge/node.tag/macs/node.def
index d07958c..e985437 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 Media Access Control (MAC) address table
-run: /usr/sbin/brctl showmacs "$3"
+run: /sbin/brctl showmacs "$3"
diff --git a/templates/show/bridge/node.tag/node.def b/templates/show/bridge/node.tag/node.def
index d20611f..0ae82f1 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 interface
allowed: local -a array ;
array=( /sys/class/net/br* ) ;
echo -n '<brN>' ${array[@]##*/}
-run: /usr/sbin/brctl show "$3"
+run: /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 3921867..360d15a 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: /usr/sbin/brctl showstp "$3"
+run: /sbin/brctl showstp "$3"