From d1937f31252a0eef3a4e3969000c00f65c308963 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 4 Feb 2020 16:49:10 +0100 Subject: [PATCH] change config file AGAIN Seems like alpine is using /etc/nftables.nft now. --- files/nftables-init | 2 +- gencode-remote | 2 +- manifest | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/nftables-init b/files/nftables-init index fb3d863..6e9b5e3 100755 --- a/files/nftables-init +++ b/files/nftables-init @@ -14,7 +14,7 @@ -CONF=/etc/firewall.nft +CONF=/etc/nftables.nft BIN=/usr/sbin/nft [ -x "$BIN" ] || exit 0 diff --git a/gencode-remote b/gencode-remote index a62d0ca..80529d0 100644 --- a/gencode-remote +++ b/gencode-remote @@ -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 diff --git a/manifest b/manifest index 36f65c4..074080d 100644 --- a/manifest +++ b/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"