mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
luaserver: fix paths in small guide
Origin commit data
------------------
Commit: 089702a484
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Origin message was:
------------------
- luaserver: fix paths in small guide
This commit is contained in:
@@ -21,8 +21,8 @@
|
|||||||
#if 0
|
#if 0
|
||||||
For testing try:
|
For testing try:
|
||||||
|
|
||||||
cat <<EOT > /share/tuxbox/neutrino/luaplugins/test.lua
|
cat <<EOT > /usr/share/tuxbox/neutrino/luaplugins/test.lua
|
||||||
#!/bin/luaclient
|
#!/usr/bin/luaclient
|
||||||
|
|
||||||
for i,v in ipairs(arg) do
|
for i,v in ipairs(arg) do
|
||||||
print(tostring(i) .. "\t" .. tostring(v))
|
print(tostring(i) .. "\t" .. tostring(v))
|
||||||
@@ -30,9 +30,9 @@ end
|
|||||||
return "ok"
|
return "ok"
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
chmod +x /share/tuxbox/neutrino/luaplugins/test.lua
|
chmod +x /usr/share/tuxbox/neutrino/luaplugins/test.lua
|
||||||
|
|
||||||
/share/tuxbox/neutrino/luaplugins/test.lua a b c d
|
/usr/share/tuxbox/neutrino/luaplugins/test.lua a b c d
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
Reference in New Issue
Block a user