From e36ee0519658db4de8e914621a060349b4f04bc1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 3 Oct 2008 14:03:20 +0000 Subject: [PATCH] * luci/libs/sys: fix function name of init.disable() --- libs/sys/luasrc/sys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1