diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-25 17:15:52 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-25 17:15:52 -0800 |
commit | edfa85b04ff74bede4d7e7afec725b570325044f (patch) | |
tree | 1e670d3e80694cca544ae703e717c534fb19d654 | |
parent | 07e6cbf4cf7b57b3d460b2e73c9c35a1cb0f0f4f (diff) | |
download | vyatta-op-edfa85b04ff74bede4d7e7afec725b570325044f.tar.gz vyatta-op-edfa85b04ff74bede4d7e7afec725b570325044f.zip |
Revert "running brctl doesn't need root privledges"
This reverts commit 9c1009f00a9f4be7a55cf315c7daddd7260fa035.
-rw-r--r-- | templates/show/bridge/node.def | 2 | ||||
-rw-r--r-- | templates/show/bridge/node.tag/macs/node.def | 2 | ||||
-rw-r--r-- | templates/show/bridge/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/show/bridge/node.tag/spanning-tree/node.def | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/show/bridge/node.def b/templates/show/bridge/node.def index efc319e..45761f1 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: sudo brctl show diff --git a/templates/show/bridge/node.tag/macs/node.def b/templates/show/bridge/node.tag/macs/node.def index 7ca18d0..c16fcb5 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: /usr/sbin/brctl showmacs $3 +run: sudo brctl showmacs $3 diff --git a/templates/show/bridge/node.tag/node.def b/templates/show/bridge/node.tag/node.def index daf82b0..d439a03 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: /usr/sbin/brctl show $3 +run: sudo 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 a84eb2a..8840ee6 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: sudo brctl showstp $3 |