error en script cbq en centos 5

Forums: 

como me gusta trabajar con cbq ya que a nivel de firewall puedo habilitar funciones avanzadas en el marcado de paquetes he instalado el centos 5 para usar el string en iptables y usar mark para cbq pero cada vez que ejecutaba el cbq tenia un mensaje de error, ya encontre la solucion en google por si alguien experimenta el mismo error aqui esta para resolverlo parece ser un error en el script de cbq que viene con centos 5

el error es este
al crear los archivos de clases y ejecutar un
cbq compile me arrojaba este error


find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.


en este sitio explican como resolverlo click aqui

el error es en realidad un error en la sintaxis del comando find

aqui esta el scrip correcto

577 ### Get a list of configured classes
578 CLASSLIST=`find $1 -maxdepth 1 \( -type f -or -type l\ ) -name 'cbq-*' \
579 -not -name '*~' -printf "%f\n"| sort`
580 [ -z "$CLASSLIST" ] &&
581 cbq_failure "no configuration files found in $1!"
582
583 ### Gather all DEVICE fields from $1/cbq-*
584 DEVFIELDS=`find $1 -maxdepth 1 \( -type f -or -type l \) -name 'cbq-*' \
585 -not -name '*~'| xargs sed -n 's/#.*//;
586 s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*(,[^,]*)?/ \
587 { s/.*=//; p; }'| sort -u`

el original es asi y esta malo

### Get a list of configured classes
CLASSLIST=`find $1 \( -type f -or -type l \) -name 'cbq-*' \
-not -name '*~' -maxdepth 1 -printf "%f\n"| sort`
[ -z "$CLASSLIST" ] &&
cbq_failure "no configuration files found in $1!"

### Gather all DEVICE fields from $1/cbq-*
DEVFIELDS=`find $1 ( -type f -or -type l ) -name 'cbq-*' \
-not -name '*~' -maxdepth 1| xargs sed -n 's/#.*//; \
s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ \
{ s/.*=//; p; }'| sort -u`

espero que ayude a mi me sirvio y ya tenia 40 min buscando :)
saludos