Remove rm -f firewall.tar.gz

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

View File

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

View File

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

View File

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