12 lines
280 B
Lua
12 lines
280 B
Lua
|
-- 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
|