build: i18n-add-language.sh: more lenient code validation
[project/luci.git] / applications / luci-app-ksmbd / luasrc / controller / ksmbd.lua
1 -- Licensed to the public under the Apache License 2.0.
2
3 module("luci.controller.ksmbd", package.seeall)
4
5 function index()
6 if not nixio.fs.access("/etc/config/ksmbd") then
7 return
8 end
9
10 entry({"admin", "services", "ksmbd"}, view("ksmbd"), _("Network Shares")).dependent = true
11 end