diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-26 14:43:36 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-26 14:43:36 -0800 |
commit | 7d6f0458f50d781d04e6dfe79dbbabbc7f4f3084 (patch) | |
tree | 628cdf7229aac15d27bf243f1046fa8a938fda5f /templates/show/bridge | |
parent | 39c42e76dce4a653b788ce0a9a445a00f47c5e09 (diff) | |
download | vyatta-op-7d6f0458f50d781d04e6dfe79dbbabbc7f4f3084.tar.gz vyatta-op-7d6f0458f50d781d04e6dfe79dbbabbc7f4f3084.zip |
bridge status commands don't need sudo
Commands like "brctl show" don't need sudo.
Diffstat (limited to 'templates/show/bridge')
-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..69121f6 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: brctl show diff --git a/templates/show/bridge/node.tag/macs/node.def b/templates/show/bridge/node.tag/macs/node.def index c16fcb5..cbf77da 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: brctl showmacs $3 diff --git a/templates/show/bridge/node.tag/node.def b/templates/show/bridge/node.tag/node.def index d439a03..770165e 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: 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..33d16d9 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: brctl showstp $3 |