SmartAudio/package/luci/luci-app-watchcat/luasrc/controller/watchcat.lua

12 lines
351 B
Lua
Raw Normal View History

2018-07-13 01:31:50 +00:00
-- Copyright 2012 Christian Gagneraud <chris@techworks.ie>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.watchcat", package.seeall)
function index()
if not nixio.fs.access("/etc/config/system") then
return
end
entry({"admin", "services", "watchcat"}, cbi("watchcat/watchcat"), _("Watchcat"), 90)
end