blob: b31b64e3cae9012a54d6c91dab48be9c103c0900 (
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.shairport", package.seeall)
function index()
if not nixio.fs.access("/etc/config/shairport") then
return
end
local page = entry({"admin", "services", "shairport"}, cbi("shairport"), _("Shairport"))
page.dependent = true
end
|