From daa3ce6ea4a8dbdf7411805ae3f8c18155c3b448 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 21 Feb 2008 16:40:54 -0800 Subject: 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 --- scripts/vyatta-show-queue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3