widget.temp: reset path to /sys/devices; closes #441

This commit is contained in:
Luca Capezzuto 2019-08-27 17:08:37 +01:00
parent 9120182f49
commit 71ca1bd767
No known key found for this signature in database
GPG Key ID: EDCFE1C5B0CD8FB5
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ local function factory(args)
local settings = args.settings or function() end
function temp.update()
helpers.async({"find", "/sys/devices/virtual/thermal", "-type", "f", "-name", "*temp*"}, function(f)
helpers.async({"find", "/sys/devices", "-type", "f", "-name", "*temp*"}, function(f)
temp_now = {}
local temp_fl, temp_value
for t in f:gmatch("[^\n]+") do

2
wiki

@ -1 +1 @@
Subproject commit 8b3ab9e38a9876cc2e29766c6ecafffbc1c6ff34
Subproject commit 2899629c445cb12efb72cc538e36cfc2ec812201