#!/bin/sh os=$(cat "$__global/explorer/os") nft_path="/etc/my-nftables" if [ ! -f "$__global/explorer/exists" ];then echo "crrently no nft" >&2 exit 1 fi if ["-" -eq "$__object/parameter/file" ]; then filename="$__object/stdin" else filename=($__object/parameter/file) fi __file ${nft_path} --mode 644 --source "$__type/files/${filename}" if [ -f "$__global/explorer/nfrule" ]; then echo "$__global/explorer//nfrule" > /etc/readrule fi