summaryrefslogtreecommitdiffhomepage
path: root/core/src/sys.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-13 17:32:11 +0000
committerSteven Barth <steven@midlink.org>2008-05-13 17:32:11 +0000
commitbac04441f11f29b53d6c24ed9a32244cd95dce25 (patch)
treecbdf5d92d5cda4236dec4e63b03aa2349731f33a /core/src/sys.lua
parentfbc9bf4c5bfaa0add3c7f5ad947d7bc20d79aedb (diff)
* modules/admin-core: Reintroduced ffluci.controller.admin.status
* modules/admin-core: Added Syslog status page
Diffstat (limited to 'core/src/sys.lua')
-rw-r--r--core/src/sys.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/sys.lua b/core/src/sys.lua
index 376654893..debd8e94c 100644
--- a/core/src/sys.lua
+++ b/core/src/sys.lua
@@ -122,6 +122,11 @@ function sysinfo()
return s, m, r
end
+-- Reads the syslog
+function syslog()
+ return exec("logread")
+end
+
group = {}
group.getgroup = posix.getgroup