Debian 11 (bullseye) uses /etc/nftables.nft as well
This commit is contained in:
parent
c827bdf77c
commit
ea69c4c622
1 changed files with 8 additions and 1 deletions
9
manifest
9
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
|
||||
|
|
Loading…
Reference in a new issue