* switch to luci static javascript api * add version info * remove 'home' option * regenerate translations Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
11 lines
288 B
Lua
11 lines
288 B
Lua
-- Licensed to the public under the Apache License 2.0.
|
|
|
|
module("luci.controller.samba4", package.seeall)
|
|
|
|
function index()
|
|
if not nixio.fs.access("/etc/config/samba4") then
|
|
return
|
|
end
|
|
|
|
entry({"admin", "services", "samba4"}, view("samba4"), _("Network Shares")).dependent = true
|
|
end
|