* luci/libs/sys: fix function name of init.disable()
This commit is contained in:
parent
85b3ee12c2
commit
e36ee05196
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ end
|
|||
|
||||
--- Disable the given init script
|
||||
-- @return Boolean indicating success
|
||||
function init.enable(name)
|
||||
function init.disable(name)
|
||||
if luci.fs.access(init.dir..name) then
|
||||
return ( call(init.dir..name.." disable") == 0 )
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue