summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-samba/luasrc/model')
-rw-r--r--applications/luci-app-samba/luasrc/model/cbi/samba.lua6
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 46259e733..68a5b3a9b 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"