X-Git-Url: https://git.ao2.it/config/iptables.git/blobdiff_plain/3c671fc60e0ad4db03576acd03faef6c21b0a7a0..f44ca91b15e46f2f585daff1717ed90a7c75b89b:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 1c26fe1..9436a66 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: deploy-workstation: - command -v /usr/sbin/nft > /dev/null && sudo nft flush ruleset + -[ -x /usr/sbin/nft ] && sudo nft flush ruleset sudo ./iptables-workstation.sh sudo iptables-save > iptables sudo ip6tables-save > ip6tables