mirror of
https://git.vectorsigma.ru/public/CasaOS.git
synced 2026-07-28 18:37:46 +00:00
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user