mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
Remove frequent logs
This commit is contained in:
parent
299b20a087
commit
3b9c4b62c5
@ -335,10 +335,8 @@ func GetCPUThermalZone() string {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if len(name) > 0 { //proves at least one zone
|
if len(name) > 0 { //proves at least one zone
|
||||||
loger.Warn("CPU thermal zone not matched. Default to thermal_zone0.")
|
|
||||||
path = stub + "0"
|
path = stub + "0"
|
||||||
} else {
|
} else {
|
||||||
loger.Error("No CPU thermal zones found. CPU temp will not be displayed.")
|
|
||||||
path = ""
|
path = ""
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user