mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-16 04:04:10 +02:00
11 lines
180 B
Plaintext
11 lines
180 B
Plaintext
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
|