From eeb9fd748b3e0bb5c7642cbbf8b3fa51000672d1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Mar 2010 04:49:43 +0000 Subject: applications/luci-initmgr: fix disabling of init scripts --- applications/luci-initmgr/luasrc/model/cbi/init/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-initmgr/luasrc/model/cbi/init') diff --git a/applications/luci-initmgr/luasrc/model/cbi/init/init.lua b/applications/luci-initmgr/luasrc/model/cbi/init/init.lua index 668ebad15..9773d9b45 100644 --- a/applications/luci-initmgr/luasrc/model/cbi/init/init.lua +++ b/applications/luci-initmgr/luasrc/model/cbi/init/init.lua @@ -39,6 +39,7 @@ i = s:option(DummyValue, "index", translate("Start priority")) n = s:option(DummyValue, "name", translate("Initscript")) e = s:option(Flag, "enabled", translate("initmgr_enabled")) +e.rmempty = false e.cfgvalue = function(self, section) return inits[section].enabled and "1" or "0" -- cgit v1.2.3