libs/sys: fix unwanted invocation of initscripts when probing index of rcS
This commit is contained in:
parent
362dfd03e5
commit
7b276a5f48
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ end
|
||||||
-- @return Numeric index value
|
-- @return Numeric index value
|
||||||
function init.index(name)
|
function init.index(name)
|
||||||
if fs.access(init.dir..name) then
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue