use nftables.nft
This commit is contained in:
parent
1af981eb79
commit
13acdc2dc5
1 changed files with 1 additions and 15 deletions
16
manifest
16
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"
|
||||
|
|
Loading…
Reference in a new issue