projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfbcc1c
)
init: use the reload data trigger to reload firewall on procd data changes
master
author
Felix Fietkau
<nbd@nbd.name>
Tue, 17 Dec 2024 19:05:44 +0000
(20:05 +0100)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/root/etc/init.d/firewall
b/root/etc/init.d/firewall
index b555a63e93acd3d65b4b372b1e3ada4ea606c659..925064369ef0facdf427465d5f7cf3581c1d1fa6 100755
(executable)
--- a/
root/etc/init.d/firewall
+++ b/
root/etc/init.d/firewall
@@
-6,6
+6,7
@@
QUIET=""
service_triggers() {
procd_add_reload_trigger firewall
+ procd_add_reload_data_trigger firewall
}
restart() {