From ea69c4c62242bfe0ebd83a75da5e14eefcc05248 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Thu, 1 Jul 2021 10:37:42 +0200 Subject: [PATCH] Debian 11 (bullseye) uses /etc/nftables.nft as well --- manifest | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manifest b/manifest index 3c6f710..7a55221 100644 --- a/manifest +++ b/manifest @@ -1,10 +1,17 @@ initscript="$__type/files/nftables-init" os=$(cat $__global/explorer/os) +os_version=$(cat "$__global/explorer/os_version") case "$os" in debian) - conf=/etc/nftables.conf + case "$os_version" in + 11*) + conf=/etc/nftables.nft + ;; + *) + conf=/etc/nftables.conf + ;; ;; *) conf=/etc/nftables.nft