diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-25 09:11:41 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-25 09:11:41 -0800 |
commit | 9c1009f00a9f4be7a55cf315c7daddd7260fa035 (patch) | |
tree | 12a1f4b532d782cfd38130dacf2544d2da566a81 | |
parent | 2924ef0aeb27f3996cd61bb41098408c1bed7a0e (diff) | |
download | vyatta-op-9c1009f00a9f4be7a55cf315c7daddd7260fa035.tar.gz vyatta-op-9c1009f00a9f4be7a55cf315c7daddd7260fa035.zip |
running brctl doesn't need root privledges
Don't need sudo for running info commands.
-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 45761f1..efc319e 100644 --- a/templates/show/bridge/node.def +++ b/templates/show/bridge/node.def @@ -1,2 +1,2 @@ help: "Show bridging information" -run: sudo brctl show +run: /usr/sbin/brctl show diff --git a/templates/show/bridge/node.tag/macs/node.def b/templates/show/bridge/node.tag/macs/node.def index c16fcb5..7ca18d0 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: sudo 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 d439a03..daf82b0 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: sudo 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 8840ee6..a84eb2a 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: sudo brctl showstp $3 +run: /usr/sbin/brctl showstp $3 |