Update rhel.sh

This commit is contained in:
midoks
2023-07-15 12:34:47 +08:00
parent 18cdcd1436
commit 97b1e8b9b3
+2 -2
View File
@@ -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