From b263eb4bb4175b7c195351b343f3d2b1636bedf9 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 14 Apr 2008 13:20:30 -0700 Subject: "show bridge brX" doesn't work. Use full path to brctl. --- templates/show/bridge/node.tag/macs/node.def | 2 +- templates/show/bridge/node.tag/node.def | 2 +- templates/show/bridge/node.tag/spanning-tree/node.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/show') 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" -- cgit v1.2.3