lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, 17 Feb 2011 16:15:28 +0100, Gilles Ganault
<gilles.ganault@free.fr> wrote:
>Is there a way to tell Asterisk that the script must be fed to the Lua
>interpreter?

Turns out the shebang line works OK even in Lua scripts:

#!/var/tmp/lua

Just chmod 755 the script, and it works.