From b3096929e693dac907842c1d8134ea09876c6fcf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 19 Sep 2018 16:49:20 +0200 Subject: HZDR setup --- ip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip.sh') diff --git a/ip.sh b/ip.sh index d5b9a98..45736b2 100755 --- a/ip.sh +++ b/ip.sh @@ -3,6 +3,6 @@ name=$(uname -n | cut -d '.' -f 1) [ -f "ip/$name.sh" ] || { echo "Host $name not configured"; exit 1; } -systemctl stop firewalld +[ -f "/usr/bin/firewall-cmd" ] && systemctl stop firewalld ip/$name.sh -- cgit v1.2.3