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 1fdc32b..5d915a8 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"