nodogsplash: recognize yes, true or 1 as valid TrafficControl values
This commit is contained in:
parent
4bcf0bc5a8
commit
0c2656c402
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ test_module() {
|
||||||
do_module_tests "ipt_mark"
|
do_module_tests "ipt_mark"
|
||||||
|
|
||||||
# test for imq modules, only if TrafficControl is enabled in conf
|
# test for imq modules, only if TrafficControl is enabled in conf
|
||||||
if ( grep -q '^[[:space:]]*TrafficControl[[:space:]]\+yes' "$NDS_CONF" ) ; then
|
if ( grep -q -E '^[[:space:]]*TrafficControl[[:space:]]+(yes|true|1)' "$NDS_CONF" ) ; then
|
||||||
do_module_tests "imq" "numdevs=2"
|
do_module_tests "imq" "numdevs=2"
|
||||||
do_module_tests "ipt_IMQ"
|
do_module_tests "ipt_IMQ"
|
||||||
do_module_tests "sch_htb"
|
do_module_tests "sch_htb"
|
||||||
|
|
Loading…
Reference in a new issue