change config file AGAIN

Seems like alpine is using /etc/nftables.nft now.
This commit is contained in:
Nico Schottelius 2020-02-04 16:49:10 +01:00
parent 9ab9277c69
commit d1937f3125
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
CONF=/etc/firewall.nft
CONF=/etc/nftables.nft
BIN=/usr/sbin/nft
[ -x "$BIN" ] || exit 0

View File

@ -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

View File

@ -2,7 +2,7 @@ initscript="$__type/files/nftables-init"
os=$(cat $__global/explorer/os)
conf=/etc/firewall.nft
conf=/etc/nftables.nft
if [ -f "$__object/parameter/config-from-stdin" ]; then
srcfile="$__object/stdin"