slartibartfast wrote:
> I am using squeezelite v1.97-1282-pCP
> Running -S /home/tc/myscript.sh doesn't work from command line. I see
> "-sh: -S: not found"
> Adding it as a script in pCP also doesn't seem to do anything. Maybe my
> scripts aren't running for some reason.
You don't show your command line
The first line indicates which shell to use. IIRC pcp doesn't have a
shell it uses busybox - so there may be no "/usr/sh"
There is a pcp extension called bash.tcz whic may provide "/usr/bash
"which may also then create a link to "/usr/sh"
For example if I change the first line on my system to "!/usr/badshell"
I get the following message
Code:
--------------------
sh: 1: /home/pit/myscript.sh: not found
--------------------
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112760
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix