update
This commit is contained in:
parent
aee040b2f1
commit
19ac819a3d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user