summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cifsd/luasrc/controller/cifsd.lua
blob: de3f9b0f9280aa9fb9c10bfe389a64a9977e6b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- Licensed to the public under the Apache License 2.0.

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

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

	entry({"admin", "services", "cifsd"}, view("cifsd"), _("Network Shares")).dependent = true
end