* luci/lib/sys: fix inline documentation of sys.init

This commit is contained in:
Jo-Philipp Wich 2008-10-03 14:05:53 +00:00
parent e36ee05196
commit 84b98f7e8c

View file

@ -547,6 +547,7 @@ function init.names()
end
--- Test whether the given init script is enabled
-- @param name Name of the init script
-- @return Boolean indicating whether init is enabled
function init.enabled(name)
if luci.fs.access(init.dir..name) then
@ -556,6 +557,7 @@ function init.enabled(name)
end
--- Get the index of he given init script
-- @param name Name of the init script
-- @return Numeric index value
function init.index(name)
if luci.fs.access(init.dir..name) then
@ -564,6 +566,7 @@ function init.index(name)
end
--- Enable the given init script
-- @param name Name of the init script
-- @return Boolean indicating success
function init.enable(name)
if luci.fs.access(init.dir..name) then
@ -572,6 +575,7 @@ function init.enable(name)
end
--- Disable the given init script
-- @param name Name of the init script
-- @return Boolean indicating success
function init.disable(name)
if luci.fs.access(init.dir..name) then