diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-03 14:03:20 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-03 14:03:20 +0000 |
commit | e36ee0519658db4de8e914621a060349b4f04bc1 (patch) | |
tree | dfac059f431af37184e18990afcd8f4360f1d807 | |
parent | 85b3ee12c2d67451f8355ddd3111ab347ca2312b (diff) |
* luci/libs/sys: fix function name of init.disable()
-rw-r--r-- | libs/sys/luasrc/sys.lua | 2 |
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 |