summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-p910nd/luasrc/controller/p910nd.lua
blob: df47e9fd925a131de99c903f18b57e85cd054532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Copyright 2008 Yanira <forum-2008@email.de>
-- Licensed to the public under the Apache License 2.0.

module("luci.controller.p910nd", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/p910nd") then
		return
	end

	local page

	page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), _("p910nd - Printer server"), 60)
	page.dependent = true
end