mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update rhel.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user