diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-09-19 16:49:20 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-09-19 16:49:20 +0200 |
commit | b3096929e693dac907842c1d8134ea09876c6fcf (patch) | |
tree | 61434f6636699a40b7e7745894ad69c1b9a6beaf /ip.sh | |
parent | 088438fe6643dce4195e52452fe995c2608b0a48 (diff) | |
download | mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.gz mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.bz2 mlx-b3096929e693dac907842c1d8134ea09876c6fcf.tar.xz mlx-b3096929e693dac907842c1d8134ea09876c6fcf.zip |
Diffstat (limited to 'ip.sh')
-rwxr-xr-x | ip.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |