projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-full: filter init scripts without START in startup model
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
model
/
cbi
/
admin_system
/
startup.lua
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
b/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
index
ed1eabe
..
592c173
100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_system/startup.lua
@@
-2,7
+2,7
@@
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2010-201
1
Jo-Philipp Wich <xm@subsignal.org>
+Copyright 2010-201
2
Jo-Philipp Wich <xm@subsignal.org>
Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
Licensed under the Apache License, Version 2.0 (the "License");
Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
Licensed under the Apache License, Version 2.0 (the "License");
@@
-24,11
+24,13
@@
for _, name in ipairs(luci.sys.init.names()) do
local index = luci.sys.init.index(name)
local enabled = luci.sys.init.enabled(name)
local index = luci.sys.init.index(name)
local enabled = luci.sys.init.enabled(name)
- inits["%02i.%s" % { index, name }] = {
- name = name,
- index = tostring(index),
- enabled = enabled
- }
+ if index < 255 then
+ inits["%02i.%s" % { index, name }] = {
+ name = name,
+ index = tostring(index),
+ enabled = enabled
+ }
+ end
end
end