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