forked from freifunk-franken/firmware
fff-firewall: Restart when network configuration changes
The configuration of our firewall depends on the network configuration. Most importantly, the firewall has to be restarted, if the WAN-interface is changed. Therefore, a procd reload trigger is added to the init-script, so our firewall is automatically restarted, when the network configuration is changed. Fixes: #46 (gitea) Signed-off-by: Robert Langhammer <rlanghammer@web.de> [fabian@blaese.de: Remove unrelated changes] Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
aea773a2a9
commit
3eb744e491
|
@ -11,7 +11,7 @@ FIREWALL_DIR=/usr/lib/firewall.d
|
|||
|
||||
service_triggers()
|
||||
{
|
||||
procd_add_reload_trigger "fff-firewall"
|
||||
procd_add_reload_trigger "fff-firewall" "network"
|
||||
}
|
||||
|
||||
start_service()
|
||||
|
|
Loading…
Reference in New Issue
Block a user