diff options
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 |