cpd73 wrote: 
> Make sure your shell script is executable: "chmod +x script.sh" and has
> "#!/bin/bash" as the first line. e.g.
> 
> > 
Code:
--------------------
  >   > 
  > #!/bin/bash
  > echo "Hello"
  > 
--------------------
> > 
> 
> Then in actions.json you need the full path to the script:
> 
> > 
Code:
--------------------
  >   > 
  > {
  > "system":[
  > {
  > "title":"Zaireeka",
  > "command":"/tmp/test.sh",
  > "prompt":"Do this command?"
  > }
  > ]
  > }
  > 
--------------------
> > 
> 
> The above works on my system - "Hello" is printed to there terminal
> window where LMS is running.Do you think I should just use
/home/pi/zaireeka.sh
instead of 
/home/pi/sh zaireeka.sh

Sent from my Pixel 3a using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to