Show
Ignore:
Timestamp:
05/06/12 10:47:57 (13 months ago)
Author:
jow
Message:

libs/sys: fix luci.sys.init.index() (#399)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/libs/sys/luasrc/sys.lua

    r8558 r8673  
    796796function init.index(name) 
    797797    if fs.access(init.dir..name) then 
    798         return call("env -i sh -c 'source %s%s; exit $START' >/dev/null" 
     798        return call("env -i sh -c 'source %s%s enabled; exit ${START:-255}' >/dev/null" 
    799799            %{ init.dir, name }) 
    800800    end