summaryrefslogtreecommitdiffhomepage
path: root/libs/sys/luasrc/sys.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-03 14:03:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-03 14:03:20 +0000
commite36ee0519658db4de8e914621a060349b4f04bc1 (patch)
treedfac059f431af37184e18990afcd8f4360f1d807 /libs/sys/luasrc/sys.lua
parent85b3ee12c2d67451f8355ddd3111ab347ca2312b (diff)
* luci/libs/sys: fix function name of init.disable()
Diffstat (limited to 'libs/sys/luasrc/sys.lua')
-rw-r--r--libs/sys/luasrc/sys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua
index ea55ed528c..230201d829 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