#20443: igmpproxy will not start at boot up
-----------------------+----------------------------------
Reporter: paulc74 | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+----------------------------------
Comment (by puleglot):
Well.. I already tried the same patch. I have two interfaces in igmpproxy
config: upstream wan and downstream lan. As you can see trigger doesn't
work:
{{{
$ pgrep igmpproxy
14484
$ sudo ifdown wan
$ pgrep igmpproxy
14484
$ pgrep igmpproxy
14484
$ pgrep igmpproxy
14484
$ sudo ifup wan
$ pgrep igmpproxy
14484
$ pgrep igmpproxy
14484
}}}
Probably needed some changes in procd to support this. I'm currently using
an ugly workaround. :)
{{{
if [ -n "$has_upstream" ]; then
procd_set_param command $PROG
[ -n "$OPTIONS" ] && procd_append_param command $OPTIONS
procd_append_param command $CONFIGFILE
else
# Ugly hack. This way we register interface trigger
# without spawning igmpproxy
procd_set_param command /bin/sleep 3600
fi
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/20443#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets