diff options
| author | Gui Iribarren <gui@altermundi.net> | 2013-12-15 08:47:17 -0300 |
|---|---|---|
| committer | Gui Iribarren <gui@altermundi.net> | 2013-12-15 08:47:17 -0300 |
| commit | 0c2656c4029a60f096198c87f60de7b18b004c50 (patch) | |
| tree | 20b850b0c71fcdcf9f9e22c0911e67f3942ef5ba /nodogsplash | |
| parent | 4bcf0bc5a85fa072d0c79c7e8355e9448d59aff4 (diff) | |
nodogsplash: recognize yes, true or 1 as valid TrafficControl values
Diffstat (limited to 'nodogsplash')
| -rw-r--r-- | nodogsplash/files/nodogsplash.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nodogsplash/files/nodogsplash.init b/nodogsplash/files/nodogsplash.init index 588e20e..b465792 100644 --- 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" |
