mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-13 18:53:56 +02:00
gluon-ath9k-workaround: Announce how often the workaround has been triggered.
This commit is contained in:
parent
91b43d0df4
commit
bbc3749c9f
|
@ -0,0 +1,10 @@
|
|||
function trigger_count ()
|
||||
return tonumber(fs.readfile('/tmp/ath9k_workaround_trigger'))
|
||||
end
|
||||
|
||||
local ok, value = pcall(trigger_count)
|
||||
if ok then
|
||||
return value
|
||||
else
|
||||
return 0
|
||||
end
|
Loading…
Reference in New Issue
Block a user