igmpproxy: remove procd_open_trigger/procd_close_trigger calls
authorFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 11:07:08 +0000 (13:07 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 14:41:09 +0000 (16:41 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/igmpproxy/files/igmpproxy.init

index 9e337221f1e3bab1b982173833835a2d268badb0..9f4e51ada4d8cc4205fb5b4f28b908ab94ac3755 100644 (file)
@@ -97,6 +97,7 @@ igmp_add_firewall_network() {
 
 service_triggers() {
        procd_add_reload_trigger "igmpproxy"
+       config_foreach igmp_add_network phyint
 }
 
 start_service() {
@@ -116,9 +117,6 @@ start_service() {
        procd_set_param file $CONFIGFILE
        procd_set_param netdev $netdevs
        procd_set_param respawn
-       procd_open_trigger
-       config_foreach igmp_add_network phyint
-       procd_close_trigger
 
        procd_open_data