900-ath9k-blackout-workaround 302 B

12345678910
  1. #!/usr/bin/lua
  2. local fs = require 'nixio.fs'
  3. local site = require 'gluon.site'
  4. local step_size = site.ath9k_workaround.step_size()
  5. local f = io.open('/usr/lib/micron.d/ath9k-blackout-workaround', 'w')
  6. f:write(string.format('*/%i * * * * /usr/sbin/ath9k-blackout-workaround\n', step_size))
  7. f:close()