A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Don't try to get sensor info on openbsd
Svilen Markovcbf19615108e
diff --git a/pkg/sysinfo/sysinfo.go b/pkg/sysinfo/sysinfo.goindex 09df02f..673b9d2 100644--- a/pkg/sysinfo/sysinfo.go+++ b/pkg/sysinfo/sysinfo.go@@ -202,7 +202,8 @@ func Collect(req *SystemInfoRequest) (*SystemInfo, []error) {// keeps returning a single sensor with key "ACPI\\ThermalZone\\TZ00_0" which// doesn't seem to be the CPU sensor or correspond to anything useful when// compared against the temperatures Libre Hardware Monitor reports- if runtime.GOOS != "windows" {+ // also disabled on openbsd because it's not implemented by go-psutil+ if runtime.GOOS != "windows" && runtime.GOOS != "openbsd" {sensorReadings, err := sensors.SensorsTemperatures()if err == nil {if req.CPUTempSensor != "" {