From 5912474500429ade30c2d38db077933b375e40ff Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Tue, 31 Dec 2019 15:22:36 +0100 Subject: luci-app-smbd: rename change cifsd->smbd * update for name change cifsd->smbd * add version code for: kmod, usmbd * regen translations * update acl's Signed-off-by: Andy Walsh --- applications/luci-app-smbd/luasrc/controller/smbd.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-smbd/luasrc/controller/smbd.lua (limited to 'applications/luci-app-smbd/luasrc/controller/smbd.lua') diff --git a/applications/luci-app-smbd/luasrc/controller/smbd.lua b/applications/luci-app-smbd/luasrc/controller/smbd.lua new file mode 100644 index 0000000000..2bf1b15780 --- /dev/null +++ b/applications/luci-app-smbd/luasrc/controller/smbd.lua @@ -0,0 +1,11 @@ +-- 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 -- cgit v1.2.3