Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koeqaife committed Oct 11, 2024
1 parent f387d44 commit 4e93f44
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ags/scripts/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ EOF
get_system_info() {
cat <<EOF
{
"cpu_name": "$(get_cpu_name)",
"cpu_name": "$(get_cpu_name | tr -d '\n')",
"cpu_cores": $(nproc),
"ram": "$(get_ram)",
"kernel": "$(get_kernel)",
"gpu_name": "$(get_gpu)",
"hostname": "$(get_hostname)",
"os": "$(get_os)",
"uptime": "$(get_uptime)"
"ram": "$(get_ram | tr -d '\n')",
"kernel": "$(get_kernel | tr -d '\n')",
"gpu_name": "$(get_gpu | tr -d '\n')",
"hostname": "$(get_hostname | tr -d '\n')",
"os": "$(get_os | tr -d '\n')",
"uptime": "$(get_uptime | tr -d '\n')"
}
EOF
}
Expand Down

0 comments on commit 4e93f44

Please sign in to comment.