diff options
author | Steven Barth <steven@midlink.org> | 2009-01-01 13:32:57 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-01-01 13:32:57 +0000 |
commit | f008ec70f982113b71ee00fbda2ee24868e1c360 (patch) | |
tree | 6b92eb7d1ced19dfdac1baec1b71925034383542 /applications/luci-samba/luasrc | |
parent | 5623d34f875bb7b1734d72b2e71ca456e044339e (diff) |
Fix samba "read only" and "guest ok" settings not applied correctly.
Diffstat (limited to 'applications/luci-samba/luasrc')
-rw-r--r-- | applications/luci-samba/luasrc/model/cbi/samba.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-samba/luasrc/model/cbi/samba.lua b/applications/luci-samba/luasrc/model/cbi/samba.lua index 7ef9d239b..f8959eb95 100644 --- a/applications/luci-samba/luasrc/model/cbi/samba.lua +++ b/applications/luci-samba/luasrc/model/cbi/samba.lua @@ -35,10 +35,12 @@ s:option(Value, "path").titleref = luci.dispatcher.build_url("admin", "system", s:option(Value, "users").rmempty = true ro = s:option(Flag, "read_only") +ro.rmempty = false ro.enabled = "yes" ro.disabled = "no" go = s:option(Flag, "guest_ok") +go.rmempty = false go.enabled = "yes" go.disabled = "no" @@ -51,4 +53,4 @@ dm.rmempty = true dm.size = 4 -return m
\ No newline at end of file +return m |