diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2020-01-26 17:58:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 17:58:32 +0200 |
commit | c98af50cc29a0853605a37fb31c1c665a86a844f (patch) | |
tree | 9ab1b0af4ab90e0f61bf739d3c2812defac14b9b /applications/luci-app-ksmbd/luasrc | |
parent | 0896501713e1e3311f74c7774abdab24f6f3cac2 (diff) | |
parent | 4145392f8c4cfae8412d4c18a001d35e22a49902 (diff) |
Merge pull request #3566 from Andy2244/luci-app-smbd-name_change_luci-app-ksmbd
luci-app-smbd: rename to luci-app-ksmbd
Diffstat (limited to 'applications/luci-app-ksmbd/luasrc')
-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 |