summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-08 18:56:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-08 18:56:03 +0000
commit7b276a5f4861da8e2e6692b5afa648d6dff1c5bb (patch)
tree6d819af8185bbfdc02277ff94d5c1af292b590b8 /libs
parent362dfd03e5a0de9ca80f7f18450b73480d03d892 (diff)
libs/sys: fix unwanted invocation of initscripts when probing index of rcS
Diffstat (limited to 'libs')
-rw-r--r--libs/sys/luasrc/sys.lua2
1 files changed, 1 insertions, 1 deletions
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