Remove rm -f firewall.tar.gz

This commit is contained in:
Serghey Rodin 2014-10-23 17:27:10 +03:00
commit 832575b325
3 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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