init: use the reload data trigger to reload firewall on procd data changes master
authorFelix Fietkau <nbd@nbd.name>
Tue, 17 Dec 2024 19:05:44 +0000 (20:05 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 18 Dec 2024 09:34:15 +0000 (10:34 +0100)
This allows properly handling dynamic changes to firewall rules added via
procd data.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
root/etc/init.d/firewall

index b555a63e93acd3d65b4b372b1e3ada4ea606c659..925064369ef0facdf427465d5f7cf3581c1d1fa6 100755 (executable)
@@ -6,6 +6,7 @@ QUIET=""
 
 service_triggers() {
        procd_add_reload_trigger firewall
+       procd_add_reload_data_trigger firewall
 }
 
 restart() {