From 3e6cd5c51826c3e2d763091123084a744f44b191 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sun, 9 Aug 2020 09:47:11 +0800 Subject: [PATCH] =?UTF-8?q?[modify]=20ip.sb=20=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E8=B0=83=E6=95=B4=20=E4=BF=AE=E5=A4=8D=20=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=AD=A3=E5=B8=B8=E8=8E=B7=E5=8F=96=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E5=85=AC=E7=BD=91=20IP=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8cbbd9e..38f4336 100644 --- a/install.sh +++ b/install.sh @@ -29,7 +29,7 @@ OK="${Green}[OK]${Font}" Error="${Red}[错误]${Font}" # 版本 -shell_version="1.1.5.0" +shell_version="1.1.5.1" shell_mode="None" github_branch="master" version_cmp="/tmp/version_cmp.tmp" @@ -425,7 +425,7 @@ domain_check() { read -rp "请输入你的域名信息(eg:www.wulabing.com):" domain domain_ip=$(ping "${domain}" -c 1 | sed '1{s/[^(]*(//;s/).*//;q}') echo -e "${OK} ${GreenBG} 正在获取 公网ip 信息,请耐心等待 ${Font}" - local_ip=$(curl -4 ip.sb) + local_ip=$(curl https://api-ipv4.ip.sb/ip) echo -e "域名dns解析IP:${domain_ip}" echo -e "本机IP: ${local_ip}" sleep 2