From 865604608e8ab08f1f85d5d2f0aacf674efae1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xue=20Xianliang=20=E8=87=AA=E7=94=B1=E7=9A=84=E4=B8=96?= =?UTF-8?q?=E7=95=8C?= <146182012+GFW4Fun@users.noreply.github.com> Date: Tue, 3 Dec 2024 06:39:12 -0800 Subject: [PATCH] Update x-ui-pro.sh --- x-ui-pro.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-ui-pro.sh b/x-ui-pro.sh index ec0faf7..71a7bf0 100644 --- a/x-ui-pro.sh +++ b/x-ui-pro.sh @@ -469,8 +469,7 @@ if systemctl is-active --quiet x-ui || command -v x-ui &> /dev/null; then clear IPInfo=$(curl -Ls "https://ipapi.co/json" || curl -Ls "https://ipinfo.io/json") msg "Server: ${IP4} | $(uname -n) | $(echo "${IPInfo}" | jq -r '.org, .country' | paste -sd' | ')" printf "\033[1;37;40m CPU: %s/%s Core | RAM: %s | OS: %s\033[0m\n" \ - "$(hostnamectl | awk -F: '/Architecture/{print $2}' | xargs)" "$(nproc)" "$(free -h | awk '/^Mem:/{print $2}')" \ - "$(hostnamectl | awk -F: '/Operating System/{print $2}' | xargs)" + "$(hostnamectl | awk -F: '/Architecture/{print $2}' | xargs)" "$(nproc)" "$(free -h | awk '/^Mem:/{print $2}')" "$(hostnamectl | awk -F: '/Operating System/{print $2}' | xargs)" hrline msg_err "XrayUI Panel [IP:PORT/PATH]" [[ -n "$IP4" && "$IP4" =~ $IP4_REGEX ]] && msg_inf "IPv4: http://$IP4:$PORT$RNDSTR"