2
0

dump1090.lua 372 B

1234567891011121314
  1. -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.dump1090", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/dump1090") then
  6. return
  7. end
  8. local page = entry({"admin", "services", "dump1090"}, cbi("dump1090"), _("dump1090"))
  9. page.dependent = true
  10. end