From: fantom-x Date: Sat, 29 Apr 2017 20:53:08 +0000 (-0400) Subject: luci-app-samba: add "Browsable" checkbox to the "Network Shares" page for each share X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F1133%2Fhead;p=oweals%2Fluci.git luci-app-samba: add "Browsable" checkbox to the "Network Shares" page for each share Signed-off-by: Marc Benoit marcb6218@gmail.com --- diff --git a/applications/luci-app-samba/luasrc/model/cbi/samba.lua b/applications/luci-app-samba/luasrc/model/cbi/samba.lua index 721191a7e..13abbc1a4 100644 --- a/applications/luci-app-samba/luasrc/model/cbi/samba.lua +++ b/applications/luci-app-samba/luasrc/model/cbi/samba.lua @@ -53,6 +53,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"