git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
538af50
)
applications/luci-initmgr: fix disabling of init scripts
author
Jo-Philipp Wich
<redacted>
Mon, 8 Mar 2010 04:49:43 +0000
(
04:49
+0000)
committer
Jo-Philipp Wich
<redacted>
Mon, 8 Mar 2010 04:49:43 +0000
(
04:49
+0000)
applications/luci-initmgr/luasrc/model/cbi/init/init.lua
patch
|
blob
|
history
diff --git
a/applications/luci-initmgr/luasrc/model/cbi/init/init.lua
b/applications/luci-initmgr/luasrc/model/cbi/init/init.lua
index 668ebad15ac5d4a520bb8ba622306fed9b05cc03..9773d9b456f517163d20605a2245e0c0031dbe83 100644
(file)
--- 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"
git clone https://git.99rst.org/PROJECT