Can´t believe it. It is working. Thank you mglae this is very cool. Thank you all for your help.
Posts by Dreamaxx
-
-
-
okay I write:"cd /storage/downloads" and I´m in the downloads folder (very good).
I enter ls -all and there is the file:
-rwxr-xr-x 1root root 66 Sep 28 22.25 beameron.sh
I write script (skript) only as an example. The original name of the .sh is beameron.sh an I write it correct.
It looks like that in LibreELEC everything is ok.
But how can I now send the command to open the file using Cinemavision, because command:"///storage/downloads/beameron.sh" doesn´t work?
The curious is: when I write in the Terminal "bash -x beameron.sh" the command works and Power on my Beamer, but I need a command that I run in Cinemavision. So I think the beameron.sh script isn´t the problem.
In the jpeg you can see how the error looks like in Cinemavision:
PS. the old .sh named beamer_On.sh and now I change to beameron.sh so don´t care about it.
-
I save the script.sh in the folder:" downloads"
Is it possible that there is the mistake?
I copy my script.sh in the existing folder: "downloads" .
When I open the folder I can see the scripte.
If I run bash -x skript.sh in the Terminal (directory downloads) it works.
-
First thank you for the answer!
Okay I type in Terminal "chmod +x /storage/downloads/skript.sh" first
then I try to run " /storage/downloads/./skript.sh"
The answer I get is:
-sh: /storage/downloads/./skript.sh: not found
Don´t know If it is important: I run LibreELEC on a Odroid C2
-
Hello thank you for the adoption.
I´m not Expert. I´m a beginner.
I have the following Problem:
I have a bash script and when I run the script with Putty in the Terminal it works fine, but not with cinemavision .cvaction.
This is the script:
#!/bin/bash
echo -ne '\x02PON\x03' | tee | nc 192.168.188.52 1002
1) I write in the Terminal:cd /downloads
2) Then I run the script in the Terminal with this Command:
bash -x skript.shAnd all works great!!!!
if I write: "cd /downloads/skript.sh" I get an error Message
The skript.sh is in downloads
In Cinemavision I can run a bash skript, but need to write the correct path. The "example.cvaction" can run the bash script.
My .cvaction is:
command:///storage/downloads/skript.sh
But this doesn´t work. Hope you can help me.