summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-smbd/luasrc
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2019-12-31 15:22:36 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2020-01-04 05:31:04 +0100
commit5912474500429ade30c2d38db077933b375e40ff (patch)
tree294af455010f3a1ea6faedfcb1c5540417e3856c /applications/luci-app-smbd/luasrc
parentd844caf13787a66a5deac438d9f28746b79136ff (diff)
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 <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-smbd/luasrc')
-rw-r--r--applications/luci-app-smbd/luasrc/controller/smbd.lua11
1 files changed, 11 insertions, 0 deletions
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