Forgot the patch. :P

-- 

John Eikenberry
[EMAIL PROTECTED] - http://zhar.net]
______________________________________________________________
"Perfection is attained, not when no more can be added, but when no more can be
removed." -- Antoine de Saint-Exupery

--- wondershaper.orig	2008-11-05 15:50:49.000000000 -0500
+++ wondershaper	2008-11-05 15:50:29.000000000 -0500
@@ -4,19 +4,19 @@
 
 # Modifications by Vince Mulhollon for debian package
 
-if [ $# == 0 ]; then
+if [ $# = 0 ]; then
   echo Please read the man page for the wondershaper and 
   echo the file /usr/share/doc/wondershaper/README.Debian
   exit
 fi
 
-if [ $# == 1 ]; then
+if [ $# = 1 ]; then
   tc -s qdisc ls dev $1
   tc -s class ls dev $1
   exit
 fi
 
-if [ $# == 2 ]; then
+if [ $# = 2 ]; then
   tc qdisc del dev $2 root    2> /dev/null > /dev/null
   tc qdisc del dev $2 ingress 2> /dev/null > /dev/null
   echo Wondershaper queues have been cleared.

Reply via email to