1
0

shairplay.lua 377 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.shairplay", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/shairplay") then
  6. return
  7. end
  8. local page = entry({"admin", "services", "shairplay"}, cbi("shairplay"), _("Shairplay"))
  9. page.dependent = true
  10. end