diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-04-30 16:14:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-30 16:14:15 +0300 |
commit | c36201efb020bd29a0be4cbf7e5525254d47a748 (patch) | |
tree | 95aad39e9c6c94dbaf4cb2a6250bb8054495cb75 /applications/luci-app-samba/luasrc/model | |
parent | 1cce2e059bc2579e57d13cf61516d41dad12143c (diff) | |
parent | d62cb8f6158e424aa38b229ff6c2c8de0251fe2b (diff) |
Merge pull request #1133 from fantom-x/luci-app-samba-browseable
luci-app-samba: add "Browsable" checkbox to each share
Diffstat (limited to 'applications/luci-app-samba/luasrc/model')
-rw-r--r-- | applications/luci-app-samba/luasrc/model/cbi/samba.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-samba/luasrc/model/cbi/samba.lua b/applications/luci-app-samba/luasrc/model/cbi/samba.lua index 46259e7335..68a5b3a9bc 100644 --- a/applications/luci-app-samba/luasrc/model/cbi/samba.lua +++ b/applications/luci-app-samba/luasrc/model/cbi/samba.lua @@ -54,6 +54,12 @@ ro.rmempty = false ro.enabled = "yes" ro.disabled = "no" +br = s:option(Flag, "browseable", translate("Browseable")) +br.rmempty = false +br.default = "yes" +br.enabled = "yes" +br.disabled = "no" + go = s:option(Flag, "guest_ok", translate("Allow guests")) go.rmempty = false go.enabled = "yes" |