shadowsocks-libev: ss-rules: nft rule cleanup on reload
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 8 Aug 2022 12:12:19 +0000 (20:12 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 11 Aug 2022 02:44:10 +0000 (10:44 +0800)
commit04ee0326997c7d19b89621f8273331501a4137b6
tree08d29415fccf52db62d1b5c6bcfe82cdb8e45d2e
parent58aa859d06348b1459042455b8a0d2d4d339c1be
shadowsocks-libev: ss-rules: nft rule cleanup on reload

Remove nft rules file generated by ss-rules if ss-rules was or should be
turned off for by configuration.  Use "fw4 restart" instead of "fw4
reload" to force the runtime rule reloading

Ref: https://github.com/openwrt/packages/pull/17937#issuecomment-1207357037
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/Makefile
net/shadowsocks-libev/files/shadowsocks-libev.init