mirror of
https://github.com/coolsnowwolf/luci.git
synced 2025-05-01 12:12:23 +08:00
13 lines
346 B
Lua
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
|