change config file AGAIN
Seems like alpine is using /etc/nftables.nft now.
This commit is contained in:
parent
9ab9277c69
commit
d1937f3125
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
2
manifest
2
manifest
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue