* luci/libs/sys: fix function name of init.disable()
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Oct 2008 14:03:20 +0000 (14:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Oct 2008 14:03:20 +0000 (14:03 +0000)
libs/sys/luasrc/sys.lua

index ea55ed528c9cccf464a3296eac45c8222c62a63f..230201d8298366551a176c1879213ca3bfd47bee 100644 (file)
@@ -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