I can't get my very simple script executed from the ssh terminal on LE v7.90.008:
Code
htpc2:~/.config/sleep.d # cat test.sh
#!/bin/sh
echo 1
htpc2:~/.config/sleep.d # ls -l
total 8
-rwxr-xr-x 1 root root 241 Nov 6 12:58 01-make-sound.power
-rwxr-xr-x 1 root root 21 Nov 6 13:01 test.sh
htpc2:~/.config/sleep.d # ./test.sh
-sh: ./test.sh: not found
Display More
If the #!/bin/sh tag is removed then the result is OK, however I cannot create real .sh scruipt without this tag.