change config file AGAIN
Seems like alpine is using /etc/nftables.nft now.
This commit is contained in:
parent
9ab9277c69
commit
d1937f3125
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
|
||||
CONF=/etc/firewall.nft
|
||||
CONF=/etc/nftables.nft
|
||||
BIN=/usr/sbin/nft
|
||||
|
||||
[ -x "$BIN" ] || exit 0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
if grep -q "^__file/etc/firewall.nft" $__messages_in; then
|
||||
if grep -q "^__file/etc/nftables.nft" $__messages_in; then
|
||||
echo /etc/init.d/nftables restart
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue