projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
362dfd0
)
libs/sys: fix unwanted invocation of initscripts when probing index of rcS
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Mar 2010 18:56:03 +0000
(18:56 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Mar 2010 18:56:03 +0000
(18:56 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index f30a2b679c15e6a29c5b4a1d6ad51ee54f75edaf..6985d78fc50844a2e20005c5404890365b0bb6bd 100644
(file)
--- 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