cpd73 wrote: 
> so "sh" is the name of the shell command. If you type (on the machine
> where the script is to run):
> 
> > 
Code:
--------------------
  >   > 
  > where sh
  > 
--------------------
> > 
> 
> it will give you the path to the current "sh" command - probably
> "/bin/sh" Edit you script so that the first line is:
> 
> > 
Code:
--------------------
  >   > 
  > #!/bin/sh
  > 
--------------------
> > 
> 
> (change /bin/sh to match the where output). Now your actions.json just
> needs:
> 
> > 
Code:
--------------------
  >   > 
  > {
  > "system":[
  > {
  > "title":"Zaireeka",
  > "command":"/home/pi/zaireeka.sh",
  > "prompt":"Do this command?"
  > }
  > ]
  > }
  > 
  > 
--------------------
> > 

If I type 
where sh
in a terminal connected to the Pi I get
-bash: where: command not found
I can see sh at /bin/sh in WinSCP.
My script starts
#!/bin/bash
Is that wrong?

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