projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bcf0bc
)
nodogsplash: recognize yes, true or 1 as valid TrafficControl values
12/head
author
Gui Iribarren
<gui@altermundi.net>
Sun, 15 Dec 2013 11:47:17 +0000
(08:47 -0300)
committer
Gui Iribarren
<gui@altermundi.net>
Sun, 15 Dec 2013 11:47:17 +0000
(08:47 -0300)
nodogsplash/files/nodogsplash.init
patch
|
blob
|
history
diff --git
a/nodogsplash/files/nodogsplash.init
b/nodogsplash/files/nodogsplash.init
index 588e20ed8b90bed2b6abec064753364d5f86d1ac..b4657923181b810abefceb45b887a41b148e8960 100644
(file)
--- a/
nodogsplash/files/nodogsplash.init
+++ b/
nodogsplash/files/nodogsplash.init
@@
-171,7
+171,7
@@
test_module() {
do_module_tests "ipt_mark"
# 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 "ipt_IMQ"
do_module_tests "sch_htb"