summaryrefslogtreecommitdiffhomepage
path: root/core/src/sys.lua
diff options
context:
space:
mode:
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 3766548932..debd8e94c7 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