init: remove unnecessary stop logic
authorAndris PE <[email protected]>
Mon, 2 Sep 2024 15:38:59 +0000 (15:38 +0000)
committerJo-Philipp Wich <[email protected]>
Mon, 17 Mar 2025 15:44:40 +0000 (16:44 +0100)
commit00fc6943a29732375addf72a12f2381df5b25428
treeeb910481d8ccbefa1d4bc4404d18d98084f5d1ac
parentad3cba79c19209beaff61279338b1146b343cdc1
init: remove unnecessary stop logic

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]>
root/sbin/fw4