mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
cpuinfo: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
1569721691
commit
10ccebf2f2
@ -11,8 +11,8 @@ FAMILY=""
|
||||
SERIES="$(echo $(grep 'model name' /proc/cpuinfo 2>/dev/null | head -1 | cut -d: -f2))" # str
|
||||
CORES="$(grep 'cpu cores' /proc/cpuinfo 2>/dev/null | wc -l)" # str
|
||||
while true; do
|
||||
SPEED="$(echo $(grep 'MHz' /proc/cpuinfo 2>/dev/null | head -1 | cut -d: -f2 | cut -d. -f1))" # int
|
||||
[ ${SPEED} -ne 800 ] && break
|
||||
SPEED="$(echo $(grep 'MHz' /proc/cpuinfo 2>/dev/null | head -1 | cut -d: -f2 | cut -d. -f1))" # int
|
||||
[ ${SPEED} -ne 800 ] && break
|
||||
done
|
||||
|
||||
FILE_JS="/usr/syno/synoman/webman/modules/AdminCenter/admin_center.js"
|
||||
|
Loading…
Reference in New Issue
Block a user