projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1139 from fantom-x/luci-app-hd-idle-menu-item
[project/luci.git]
/
applications
/
luci-app-samba
/
luasrc
/
model
/
cbi
/
samba.lua
diff --git
a/applications/luci-app-samba/luasrc/model/cbi/samba.lua
b/applications/luci-app-samba/luasrc/model/cbi/samba.lua
index
46259e7
..
68a5b3a
100644
(file)
--- 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"
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"
go = s:option(Flag, "guest_ok", translate("Allow guests"))
go.rmempty = false
go.enabled = "yes"