summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-21 16:40:54 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-21 16:40:54 -0800
commitdaa3ce6ea4a8dbdf7411805ae3f8c18155c3b448 (patch)
tree720a0ad79243da4532bd7110d3ed53f427f8be56 /scripts
parent602e5b01035bbad2257377581c314e4005e42bb9 (diff)
downloadvyatta-op-qos-daa3ce6ea4a8dbdf7411805ae3f8c18155c3b448.tar.gz
vyatta-op-qos-daa3ce6ea4a8dbdf7411805ae3f8c18155c3b448.zip
need path to tc command
Since show command can be run as non-root user, need to force correct path. Fixes: http://bugzilla.vyatta.com/show_bug.cgi?id=2870
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-queue6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-show-queue b/scripts/vyatta-show-queue
index e45ae18..689d040 100755
--- a/scripts/vyatta-show-queue
+++ b/scripts/vyatta-show-queue
@@ -17,13 +17,13 @@ if [[ $# -lt 1 ]]; then
fi
if [[ $# -eq 1 ]]; then
- tc -s -d qdisc show dev $1
+ /sbin/tc -s -d qdisc show dev $1
else
case $2 in
filter )
- tc filter show dev $1 ;;
+ /sbin/tc filter show dev $1 ;;
class )
- tc -s -d class show dev $1 ;;
+ /sbin/tc -s -d class show dev $1 ;;
*)
_usage; exit 1;;
esac