Add luci to packages/ instead of using a feed
[librecmc/librecmc.git] / package / luci / applications / luci-app-shairport / luasrc / controller / shairport.lua
1 -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.shairport", package.seeall)
5
6 function index()
7         if not nixio.fs.access("/etc/config/shairport") then
8                 return
9         end
10
11         local page = entry({"admin", "services", "shairport"}, cbi("shairport"), _("Shairport"))
12         page.dependent = true
13
14 end