1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-15 19:54:07 +02:00

Merge pull request #35 from sargon/ath9k

gluon-ath9k-workaround: Announce how often the workaround has been trigg...
This commit is contained in:
Nils Schneider 2014-07-13 09:13:30 +02:00
commit 75f3046ec7

View File

@ -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