luci-0.9: merge r5758
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 04:51:42 +0000 (04:51 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 04:51:42 +0000 (04:51 +0000)
applications/luci-initmgr/luasrc/model/cbi/init/init.lua

index 1fdc32bcaa2e91931a71a496e431501ef93aa708..5d915a890dea553fb1f03673e69394b2216d25c4 100644 (file)
@@ -39,6 +39,7 @@ i = s:option(DummyValue, "index", translate("initmgr_index"))
 n = s:option(DummyValue, "name", translate("initmgr_name"))
 
 e = s:option(Flag, "enabled", translate("initmgr_enabled"))
+e.rmempty = false
 
 e.cfgvalue = function(self, section)
        return inits[section].enabled and "1" or "0"