From 7b276a5f4861da8e2e6692b5afa648d6dff1c5bb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Mar 2010 18:56:03 +0000 Subject: libs/sys: fix unwanted invocation of initscripts when probing index of rcS --- libs/sys/luasrc/sys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index f30a2b679..6985d78fc 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -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 -- cgit v1.2.3