From 5268ffb67c35de1b7e7e0485d291e4c516f143a7 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 11 Dec 2012 14:40:45 +0200 Subject: [PATCH] oops, forgot to replace ip --- install/vst-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/vst-install.sh b/install/vst-install.sh index 9bb7c1400..800bed139 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -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