From 97b1e8b9b3e0fdd991d2bc9904a651a1aff1932a Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 15 Jul 2023 12:34:47 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index 826c9a9df..a0c47d92c 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -113,8 +113,8 @@ if [ ! -f /usr/sbin/firewalld ];then sed -i 's#AllowZoneDrifting=yes#AllowZoneDrifting=no#g' /etc/firewalld/firewalld.conf firewall-cmd --reload - #安装时不开启 - systemctl stop firewalld + #安装就开启 + systemctl restart firewalld fi $PKGMGR install -y epel-release