Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Nov 14, 2024
1 parent 60aef6e commit d69167f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ if systemctl is-active --quiet x-ui || [ -e /etc/systemd/system/x-ui.service ];
hrline
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;34;40m CPU: %s/%s Core | RAM: %s | HDD: %s | OS: %s\033[0m\n" \
printf "\033[1;37;40m CPU: %s/%s Core | RAM: %s | HDD: %s | OS: %s\033[0m\n" \
"$(uname -i)" "$(nproc)" "$(free -h | awk '/^Mem:/{print $2}')" \
"$(lsblk -d -o SIZE --noheadings | tr '\n' ', ' | sed 's/, $//')" \
"$(hostnamectl | awk -F: '/Operating System/{print $2}' | xargs)"
Expand Down

0 comments on commit d69167f

Please sign in to comment.