From eae0e447989a1a37ce6cb8df9f1f353738aab4f6 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 15 Jun 2008 17:45:10 +0000 Subject: * Added support for CGI SGI --- libs/core/luasrc/sys.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/core/luasrc') diff --git a/libs/core/luasrc/sys.lua b/libs/core/luasrc/sys.lua index 80d702b942..17caa78241 100644 --- a/libs/core/luasrc/sys.lua +++ b/libs/core/luasrc/sys.lua @@ -75,6 +75,9 @@ function flash(image, kpattern) return os.execute(cmd) end +-- Returns the enivornment +getenv = posix.getenv + -- Returns the hostname function hostname() return io.lines("/proc/sys/kernel/hostname")() -- cgit v1.2.3