mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-09-18 01:25:54 +00:00
Update system.go
Signed-off-by: link <a624669980@163.com>
This commit is contained in:
parent
a6ff39e47d
commit
b9098101e2
@ -482,7 +482,7 @@ func GetCPUThermalZone() string {
|
||||
name = strings.TrimSuffix(string(file.ReadFullFile(path+"/type")), "\n")
|
||||
for _, s := range cpu_types {
|
||||
if strings.HasPrefix(name, s) {
|
||||
logger.Info(fmt.Sprintf("CPU thermal zone found: %s, path: %s.", name, path))
|
||||
//logger.Info(fmt.Sprintf("CPU thermal zone found: %s, path: %s.", name, path))
|
||||
Cache.SetDefault(keyName, path)
|
||||
return path
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user