xrsh-buildroot/buildroot-v86/board/v86/rootfs_overlay/root/bin/helloworld.lua

5 lines
181 B
Lua
Executable File

#!/usr/bin/env lua
local msg = table.concat( arg, " ")
print( msg ) -- to stdout
--os.execute( "logger '" .. msg .. "'") -- to logs (/var/logs/messages)