From 4145392f8c4cfae8412d4c18a001d35e22a49902 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Sun, 26 Jan 2020 16:48:16 +0100 Subject: luci-app-smbd: rename to luci-app-ksmbd * follow upstream name change to ksmbd * remove old artifacs from "applications\luci-app-cifsd\po\" Signed-off-by: Andy Walsh --- applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua (limited to 'applications/luci-app-ksmbd/luasrc') diff --git a/applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua b/applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua new file mode 100644 index 0000000000..a3301d4843 --- /dev/null +++ b/applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua @@ -0,0 +1,11 @@ +-- Licensed to the public under the Apache License 2.0. + +module("luci.controller.ksmbd", package.seeall) + +function index() + if not nixio.fs.access("/etc/config/ksmbd") then + return + end + + entry({"admin", "services", "ksmbd"}, view("ksmbd"), _("Network Shares")).dependent = true +end -- cgit v1.2.3