firewall4
firewall4 copied to clipboard
[scripts] Remove unnecessary logic from stop script
Always remove table and service state to have consistent cleaned up system state on exit even if user intentionally dropped our table. Removes dependency on grep as a consequence.
Ref: https://wiki.nftables.org/wiki-nftables/index.php/Configuring_tables Supersedes: https://github.com/openwrt/firewall4/pull/33
Signed-off-by: Andris PE [email protected]
Hi @jow- According to "upstream documentation" no need to perform any checks before deleting table since kernel 4.9.0.
Merged via 00fc6943a29732375addf72a12f2381df5b25428 with slightly changed commit subject.