Blame SOURCES/iproute2-example-cbq-service.patch

5ebd6f
diff -up iproute2-20091106/examples/cbq.init-v0.7.3.fix iproute2-20091106/examples/cbq.init-v0.7.3
5ebd6f
--- iproute2-20091106/examples/cbq.init-v0.7.3.fix	2009-11-10 19:41:44.000000000 +0100
5ebd6f
+++ iproute2-20091106/examples/cbq.init-v0.7.3	2009-11-27 13:36:07.957310549 +0100
5ebd6f
@@ -579,14 +579,14 @@ cbq_show () {
5ebd6f
 ### Check configuration and load DEVICES, DEVFIELDS and CLASSLIST from $1
5ebd6f
 cbq_init () {
5ebd6f
 	### Get a list of configured classes
5ebd6f
-	CLASSLIST=`find $1 \( -type f -or -type l \) -name 'cbq-*' \
5ebd6f
-		-not -name '*~' -maxdepth 1 -printf "%f\n"| sort`
5ebd6f
+	CLASSLIST=`find $1 -maxdepth 1 \( -type f -or -type l \) -name 'cbq-*' \
5ebd6f
+		-not -name '*~' -printf "%f\n"| sort`
5ebd6f
 	[ -z "$CLASSLIST" ] &&
5ebd6f
 		cbq_failure "no configuration files found in $1!"
5ebd6f
 
5ebd6f
 	### Gather all DEVICE fields from $1/cbq-*
5ebd6f
-	DEVFIELDS=`find $1 \( -type f -or -type l \) -name 'cbq-*' \
5ebd6f
-		  -not -name '*~' -maxdepth 1| xargs sed -n 's/#.*//; \
5ebd6f
+	DEVFIELDS=`find $1 -maxdepth 1 \( -type f -or -type l \) -name 'cbq-*' \
5ebd6f
+		  -not -name '*~' | xargs sed -n 's/#.*//; \
5ebd6f
 		  s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ \
5ebd6f
 		  { s/.*=//; p; }'| sort -u`
5ebd6f
 	[ -z "$DEVFIELDS" ] &&