use nftables.nft

This commit is contained in:
Nico Schottelius 2022-02-03 20:56:51 +01:00
parent 1af981eb79
commit 13acdc2dc5

View file

@ -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"