mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 15:24:45 +00:00
5 lines
165 B
Bash
5 lines
165 B
Bash
#!/bin/sh
|
|
|
|
MHz=$(grep 'MHz' /proc/cpuinfo | awk '{print $4}' | awk 'NR==1')
|
|
TEMP=$(sensors 2>/dev/null | grep 'Package id' | awk '{print $4}')
|
|
echo "$MHz MHz $TEMP " |