[__ungleich_nftables] update conf path for debian
This commit is contained in:
parent
c3afa7d5d0
commit
1462df5d5c
1 changed files with 8 additions and 1 deletions
9
manifest
9
manifest
|
|
@ -2,7 +2,14 @@ initscript="$__type/files/nftables-init"
|
|||
|
||||
os=$(cat $__global/explorer/os)
|
||||
|
||||
conf=/etc/nftables.nft
|
||||
case "$os" in
|
||||
debian)
|
||||
conf=/etc/nftables.conf
|
||||
;;
|
||||
*)
|
||||
conf=/etc/nftables.nft
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -f "$__object/parameter/config-from-stdin" ]; then
|
||||
srcfile="$__object/stdin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue