From 13acdc2dc50e39b1a237b3b886551e26139e98dd Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 3 Feb 2022 20:56:51 +0100 Subject: [PATCH] use nftables.nft --- manifest | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/manifest b/manifest index 58a9d0f..03113d5 100644 --- a/manifest +++ b/manifest @@ -3,21 +3,7 @@ initscript="$__type/files/nftables-init" os=$(cat $__global/explorer/os) os_version=$(cat "$__global/explorer/os_version") -case "$os" in - debian) - case "$os_version" in - 10*|11*) - conf=/etc/nftables.nft - ;; - *) - conf=/etc/nftables.conf - ;; - esac - ;; - *) - conf=/etc/nftables.nft - ;; -esac +conf=/etc/nftables.nft if [ -f "$__object/parameter/config-from-stdin" ]; then srcfile="$__object/stdin"