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
7
manifest
7
manifest
|
@ -1,11 +1,18 @@
|
|||
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
|
||||
11*)
|
||||
conf=/etc/nftables.nft
|
||||
;;
|
||||
*)
|
||||
conf=/etc/nftables.conf
|
||||
;;
|
||||
;;
|
||||
*)
|
||||
conf=/etc/nftables.nft
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue