From: Jo-Philipp Wich Date: Fri, 3 Oct 2008 14:03:20 +0000 (+0000) Subject: * luci/libs/sys: fix function name of init.disable() X-Git-Tag: 0.9.0~1166 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e36ee0519658db4de8e914621a060349b4f04bc1;p=oweals%2Fluci.git * luci/libs/sys: fix function name of init.disable() --- diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index ea55ed528..230201d82 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -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