mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-09-08 22:58:39 +02:00
Remove rm -f firewall.tar.gz
This commit is contained in:
@@ -498,10 +498,11 @@ fi
|
||||
# Firewall configuartion
|
||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||
tar -xzf firewall.tar.gz
|
||||
rm -f firewall.tar.gz
|
||||
if [ "$disable_iptables" = 'yes' ]; then
|
||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||
else
|
||||
$BIN/v-update-firewall
|
||||
/usr/local/vesta/bin/v-update-firewall
|
||||
fi
|
||||
|
||||
# Generating SSL certificate
|
||||
|
||||
@@ -557,12 +557,13 @@ fi
|
||||
# Firewall configuration
|
||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||
tar -xzf firewall.tar.gz
|
||||
rm -f firewall.tar.gz
|
||||
if [ "$disable_iptables" = 'yes' ]; then
|
||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||
chkconfig iptables off
|
||||
service iptables stop
|
||||
else
|
||||
$BIN/v-update-firewall
|
||||
/usr/local/vesta/bin/v-update-firewall
|
||||
fi
|
||||
|
||||
# Generating SSL certificate
|
||||
|
||||
@@ -504,10 +504,11 @@ fi
|
||||
# Firewall configuartion
|
||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||
tar -xzf firewall.tar.gz
|
||||
rm -f firewall.tar.gz
|
||||
if [ "$disable_iptables" = 'yes' ]; then
|
||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||
else
|
||||
$BIN/v-update-firewall
|
||||
/usr/local/vesta/bin/v-update-firewall
|
||||
fi
|
||||
|
||||
# Generating SSL certificate
|
||||
|
||||
Reference in New Issue
Block a user