aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/igmpproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/igmpproxy/files')
-rw-r--r--package/network/services/igmpproxy/files/igmpproxy.config2
-rw-r--r--package/network/services/igmpproxy/files/igmpproxy.init7
2 files changed, 5 insertions, 4 deletions
diff --git a/package/network/services/igmpproxy/files/igmpproxy.config b/package/network/services/igmpproxy/files/igmpproxy.config
index 6230f8aa1d..c85ffa3f52 100644
--- a/package/network/services/igmpproxy/files/igmpproxy.config
+++ b/package/network/services/igmpproxy/files/igmpproxy.config
@@ -1,6 +1,6 @@
config igmpproxy
option quickleave 1
-# option verbose [0-2]
+# option verbose [0-3](none, minimal[default], more, maximum)
config phyint
option network wan
diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init
index 0c30895ad6..37fe62ad1b 100644
--- a/package/network/services/igmpproxy/files/igmpproxy.init
+++ b/package/network/services/igmpproxy/files/igmpproxy.init
@@ -9,10 +9,11 @@ CONFIGFILE=/var/etc/igmpproxy.conf
igmp_header() {
local quickleave verbose
config_get_bool quickleave "$1" quickleave 0
- config_get verbose "$1" verbose 0
+ config_get verbose "$1" verbose 1
- [ $verbose = "1" ] && logopts="-v"
- [ $verbose = "2" ] && logopts="-v -v"
+ [ $verbose = "0" ] && logopts="-d"
+ [ $verbose = "2" ] && logopts="-v"
+ [ $verbose = "3" ] && logopts="-v -v"
mkdir -p /var/etc
rm -f /var/etc/igmpproxy.conf