mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Remove rm -f firewall.tar.gz
This commit is contained in:
parent
2e38368663
commit
832575b325
3 changed files with 6 additions and 3 deletions
|
@ -498,10 +498,11 @@ fi
|
||||||
# Firewall configuartion
|
# Firewall configuartion
|
||||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||||
tar -xzf firewall.tar.gz
|
tar -xzf firewall.tar.gz
|
||||||
|
rm -f firewall.tar.gz
|
||||||
if [ "$disable_iptables" = 'yes' ]; then
|
if [ "$disable_iptables" = 'yes' ]; then
|
||||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||||
else
|
else
|
||||||
$BIN/v-update-firewall
|
/usr/local/vesta/bin/v-update-firewall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generating SSL certificate
|
# Generating SSL certificate
|
||||||
|
|
|
@ -557,12 +557,13 @@ fi
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||||
tar -xzf firewall.tar.gz
|
tar -xzf firewall.tar.gz
|
||||||
|
rm -f firewall.tar.gz
|
||||||
if [ "$disable_iptables" = 'yes' ]; then
|
if [ "$disable_iptables" = 'yes' ]; then
|
||||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||||
chkconfig iptables off
|
chkconfig iptables off
|
||||||
service iptables stop
|
service iptables stop
|
||||||
else
|
else
|
||||||
$BIN/v-update-firewall
|
/usr/local/vesta/bin/v-update-firewall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generating SSL certificate
|
# Generating SSL certificate
|
||||||
|
|
|
@ -504,10 +504,11 @@ fi
|
||||||
# Firewall configuartion
|
# Firewall configuartion
|
||||||
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
wget $CHOST/$VERSION/firewall.tar.gz -O firewall.tar.gz
|
||||||
tar -xzf firewall.tar.gz
|
tar -xzf firewall.tar.gz
|
||||||
|
rm -f firewall.tar.gz
|
||||||
if [ "$disable_iptables" = 'yes' ]; then
|
if [ "$disable_iptables" = 'yes' ]; then
|
||||||
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
sed -i "s/iptables//" $VESTA/conf/vesta.conf
|
||||||
else
|
else
|
||||||
$BIN/v-update-firewall
|
/usr/local/vesta/bin/v-update-firewall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generating SSL certificate
|
# Generating SSL certificate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue