From 19ac819a3d37d856b8f069108473c26133dff29d Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 11 Feb 2024 16:10:27 +0800 Subject: [PATCH] update --- get_share_link.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get_share_link.sh b/get_share_link.sh index be825e6..cd84910 100644 --- a/get_share_link.sh +++ b/get_share_link.sh @@ -13,7 +13,7 @@ if ! command -v qrencode &> /dev/null; then fi -# 获取IP +# 获取本机IP IPV4=$(curl -4 -sSL --connect-timeout 3 --retry 2 ip.sb || echo "null") UUID=$(jq -r '.inbounds[0].settings.clients[0].id' ./conf/config.json) @@ -26,9 +26,9 @@ PUBLIC_KEY=$(cat ./conf/key.txt | grep "Public" | awk -F ': ' '{print $2}') # config info with green color echo -e "\033[32m" echo "IPV4: $IPV4" +echo "PORT: $PORT" echo "UUID: $UUID" echo "DEST: $DEST" -echo "PORT: $PORT" echo "PUBLIC_KEY: $PUBLIC_KEY" echo "NETWORK: $NETWORK" if [ "$IPV4" != "null" ]; then