luci/applications/luci-app-samba4/luasrc/controller/samba4.lua
Andy Walsh 5c5dc02441 luci-app-samba4: add new application
* updated version for the samba4 package

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-24 13:18:25 +02:00

14 lines
313 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
local page
page = entry({"admin", "services", "samba4"}, cbi("samba4"), _("Network Shares"))
page.dependent = true
end