oops, forgot to replace ip

This commit is contained in:
Serghey Rodin 2012-12-11 14:40:45 +02:00
commit 5268ffb67c

View file

@ -577,7 +577,7 @@ wget vestacp.com/notify/?$REPO -O /dev/null
vst_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null)
if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
# Assign passive ip address
echo "pasv_address=54.246.111.50" >> /etc/vsftpd/vsftpd.conf
echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf
fi
if [ -z "$vst_ip" ]; then