X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcore%2Fluasrc%2Fsys.lua;h=14a2f294f3feca2d91d41f53d466cbbbf158a537;hp=c291f678961ee2c98dad87d529405bb3f05ea63b;hb=50093ed3d97c763d344f8f6b7bf934e593a92178;hpb=76982655fa433edd885bbb80bbe74e82fca527e2 diff --git a/libs/core/luasrc/sys.lua b/libs/core/luasrc/sys.lua index c291f6789..14a2f294f 100644 --- a/libs/core/luasrc/sys.lua +++ b/libs/core/luasrc/sys.lua @@ -24,7 +24,7 @@ limitations under the License. ]]-- ---- LuCI system utilities. +--- LuCI Linux and POSIX system utilities. module("luci.sys", package.seeall) require("posix") require("luci.bits") @@ -70,12 +70,6 @@ function httpget(url, stream) return source("wget -qO- '"..url:gsub("'", "").."'") end ---- Returns the absolute path to LuCI base directory. --- @return String containing the directory path -function libpath() - return luci.fs.dirname(require("luci.debug").__file__) -end - --- Returns the system load average values. -- @return String containing the average load value 1 minute ago -- @return String containing the average load value 5 minutes ago