luci/applications/luci-app-ksmbd/luasrc/controller/cifsd.lua
2024-12-03 19:35:06 +08:00

13 lines
346 B
Lua

-- 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/ksmbd") then
return
end
entry({"admin", "nas"}, firstchild(), "NAS", 44).dependent = false
entry({"admin", "nas", "cifsd"}, cbi("cifsd"), _("Network Shares")).dependent = true
end