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"