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

12 lines
351 B
Lua

-- 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