diff options
author | Andy Walsh <andy.walsh44+github@gmail.com> | 2020-01-26 16:48:16 +0100 |
---|---|---|
committer | Andy Walsh <andy.walsh44+github@gmail.com> | 2020-01-26 16:48:16 +0100 |
commit | 4145392f8c4cfae8412d4c18a001d35e22a49902 (patch) | |
tree | 9ab1b0af4ab90e0f61bf739d3c2812defac14b9b /applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua | |
parent | 0896501713e1e3311f74c7774abdab24f6f3cac2 (diff) |
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 <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua')
-rw-r--r-- | applications/luci-app-ksmbd/luasrc/controller/ksmbd.lua | 11 |
1 files changed, 11 insertions, 0 deletions
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 |