mirror of https://github.com/openwrt/luci.git
libs/sys: fix unwanted invocation of initscripts when probing index of rcS
parent
362dfd03e5
commit
7b276a5f48
|
@ -748,7 +748,7 @@ end
|
|||
-- @return Numeric index value
|
||||
function init.index(name)
|
||||
if fs.access(init.dir..name) then
|
||||
return call("source "..init.dir..name.."; exit $START")
|
||||
return call("source "..init.dir..name.." enabled; exit $START")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue