mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
chkconfig firewalld off
This commit is contained in:
parent
15f77bbf2b
commit
07a7c90cf6
1 changed files with 3 additions and 0 deletions
|
@ -671,6 +671,8 @@ fi
|
|||
|
||||
# Disabling iptables
|
||||
service iptables stop
|
||||
service firewalld stop >/dev/null 2>&1
|
||||
|
||||
|
||||
# Configuring NTP synchronization
|
||||
echo '#!/bin/sh' > /etc/cron.daily/ntpdate
|
||||
|
@ -1273,6 +1275,7 @@ ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/)
|
|||
|
||||
# Configuring firewall
|
||||
if [ "$iptables" = 'yes' ]; then
|
||||
chkconfig firewalld off >/dev/null 2>&1
|
||||
$VESTA/bin/v-update-firewall
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue