mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -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
|
# Disabling iptables
|
||||||
service iptables stop
|
service iptables stop
|
||||||
|
service firewalld stop >/dev/null 2>&1
|
||||||
|
|
||||||
|
|
||||||
# Configuring NTP synchronization
|
# Configuring NTP synchronization
|
||||||
echo '#!/bin/sh' > /etc/cron.daily/ntpdate
|
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
|
# Configuring firewall
|
||||||
if [ "$iptables" = 'yes' ]; then
|
if [ "$iptables" = 'yes' ]; then
|
||||||
|
chkconfig firewalld off >/dev/null 2>&1
|
||||||
$VESTA/bin/v-update-firewall
|
$VESTA/bin/v-update-firewall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue