diff options
| author | Steven Barth <steven@midlink.org> | 2009-01-01 13:33:45 +0000 |
|---|---|---|
| committer | Steven Barth <steven@midlink.org> | 2009-01-01 13:33:45 +0000 |
| commit | 0cab54fb461b5daafd78768820858e80f0a6aac1 (patch) | |
| tree | c8d120720b9d3fa5a04b1a7ac072e1d6a69baa2c | |
| parent | 300590e66d26c4cd9431bd8521bf0f317b0a320c (diff) | |
Fix samba "read only" and "guest ok" settings not applied correctly.
| -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 7ef9d239b2..f8959eb95a 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 |
