luci/applications/luci-app-samba4/luasrc/controller/samba4.lua
Andy Walsh 877dec0fe5 luci-app-samba4: switch to luci static javascript api
* switch to luci static javascript api
* add version info
* remove 'home' option
* regenerate translations

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-11-22 13:58:33 +01:00

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