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