summaryrefslogtreecommitdiffstats
path: root/ip.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-09-19 16:49:20 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-09-19 16:49:20 +0200
commitb3096929e693dac907842c1d8134ea09876c6fcf (patch)
tree61434f6636699a40b7e7745894ad69c1b9a6beaf /ip.sh
parent088438fe6643dce4195e52452fe995c2608b0a48 (diff)
downloadmlx-master.tar.gz
mlx-master.tar.bz2
mlx-master.tar.xz
mlx-master.zip
HZDR setupHEADmaster
Diffstat (limited to 'ip.sh')
-rwxr-xr-xip.sh2
1 files changed, 1 insertions, 1 deletions
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