igmpproxy should restart on WAN ifup instead of using a normal init
Username: Pedro Côrte-Real
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2298
I’m using igmpproxy for IPTV on openwrt-18.06.2-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin
In the past I’ve been bitten by a version of this bug:
https://dev.archive.openwrt.org/ticket/20443#
Basically igmpproxy will not always start or continue to work when the wan network does ifup/ifdown.
I solved it with the solution listed there:
““” /etc/hotplug.d/iface/40-igmpproxy with this content
#!/bin/sh
[ “$INTERFACE” = wan ] && [ “$ACTION” = ifup ] && /etc/init.d/igmpproxy restart
and run
/etc/init.d/igmpproxy disable
““”
That seems like a better default, maybe even restarting on any ifup and not just wan, to make it fullproof against weirder setups with interfaces named differently.