fff-firewall: Restart when network configuration changes #92

Closed
fbl wants to merge 2 commits from fbl/firmware:firewall into master

2 Commits

Author SHA1 Message Date
Fabian Bläse a4e8da8e99 fff-firewall: Remove variables not used by procd
The Variables SERVICE_WRITE_PID and SERVICE_DAEMONIZE are not used by
procd, so they are removed.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2021-01-27 16:49:25 +01:00
Robert Langhammer df87fc3851 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
Signed-off-by: Robert Langhammer <rlanghammer@web.de>
[fabian@blaese.de: Remove unrelated changes]
Signed-off-by: Fabian Bläse <fabian@blaese.de>
2021-01-27 16:49:25 +01:00