From fd3c12a61b1e4f841672a4d4e3ccf4d05b289205 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Tue, 21 Jun 2016 22:36:08 +0900 Subject: [PATCH] Change download URL to https mode --- l2tp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l2tp.sh b/l2tp.sh index 85db2c3..fa1da4e 100644 --- a/l2tp.sh +++ b/l2tp.sh @@ -137,13 +137,13 @@ is_64bit(){ } download_file(){ - local download_root_url="http://lamp.teddysun.com/files" + local download_root_url="https://lamp.teddysun.com/files" if [ -s ${1} ]; then echo "$1 [found]" else echo "$1 not found!!!download now..." - if ! wget -c -t3 -T60 ${download_root_url}/${1};then + if ! wget --no-check-certificate -c -t3 -T60 ${download_root_url}/${1};then echo "Failed to download $1, please download it to ${cur_dir} directory manually and try again." exit 1 fi