diff options
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 |