Update rhel.sh

pull/424/head
midoks 2 years ago
parent 60ddb13f8e
commit 274592229e
  1. 2
      scripts/install/rhel.sh

@ -89,6 +89,7 @@ echo "SSH PORT:${SSH_PORT}"
# echo "iptables wrap start"
echo "firewall open common port start"
if [ ! -f /usr/sbin/firewalld ];then
$PKGMGR install firewalld -y
systemctl enable firewalld
@ -103,7 +104,6 @@ if [ ! -f /usr/sbin/firewalld ];then
systemctl restart firewalld
fi
echo "firewall open common port start"
if [ -f /usr/sbin/firewalld ];then
# look
# firewall-cmd --list-all

Loading…
Cancel
Save