* luci/libs/sys: fix function name of init.disable()

This commit is contained in:
Jo-Philipp Wich 2008-10-03 14:03:20 +00:00
parent 85b3ee12c2
commit e36ee05196

View file

@ -573,7 +573,7 @@ end
--- Disable the given init script --- Disable the given init script
-- @return Boolean indicating success -- @return Boolean indicating success
function init.enable(name) function init.disable(name)
if luci.fs.access(init.dir..name) then if luci.fs.access(init.dir..name) then
return ( call(init.dir..name.." disable") == 0 ) return ( call(init.dir..name.." disable") == 0 )
end end