libs/core: Update luci.sys inline documentation

This commit is contained in:
Steven Barth 2008-07-23 14:17:37 +00:00
parent dba6854d65
commit c5a68895cf

View file

@ -71,7 +71,7 @@ function execl(command)
end end
--- Invoke the luci-flash executable to write an image to the flash memory. --- Invoke the luci-flash executable to write an image to the flash memory.
-- @param kpattern kpattern (ToDo: clearify this) -- @param kpattern Pattern of files to keep over flash process
-- @return Return value of os.execute() -- @return Return value of os.execute()
function flash(image, kpattern) function flash(image, kpattern)
local cmd = "luci-flash " local cmd = "luci-flash "
@ -202,9 +202,14 @@ function uptime()
return loadavg:match("^(.-) (.-)$") return loadavg:match("^(.-) (.-)$")
end end
--- Get group information --- LuCI system utilities / POSIX user group related functions.
-- @return Group (ToDo: clearify) -- @class module
-- @name luci.sys.group
group = {} group = {}
--- Returns information about a POSIX user group.
-- @param group Group ID or name of a system user group
-- @return Table with information about the requested group
group.getgroup = posix.getgroup group.getgroup = posix.getgroup