luci/applications/luci-app-smbd/luasrc/controller/smbd.lua

12 lines
280 B
Lua
Raw Normal View History

-- Licensed to the public under the Apache License 2.0.
module("luci.controller.smbd", package.seeall)
function index()
if not nixio.fs.access("/etc/config/smbd") then
return
end
entry({"admin", "services", "smbd"}, view("smbd"), _("Network Shares")).dependent = true
end