diff --git a/src/system/luaserver.cpp b/src/system/luaserver.cpp index 61ed02eb4..1c346ef78 100644 --- a/src/system/luaserver.cpp +++ b/src/system/luaserver.cpp @@ -22,13 +22,17 @@ For testing try: cat < /lib/tuxbox/luaplugins/test.lua +#!/bin/luaclient + for i,v in ipairs(arg) do print(tostring(i) .. "\t" .. tostring(v)) end return "ok" EOT -luaclient test a b c d +chmod +x /lib/tuxbox/luaplugins/test.lua + +/lib/tuxbox/luaplugins/test.lua a b c d #endif #include