alright I am just trying to run a simple script on startup. The script looks like this:juuso wrote:Script is on wiki is ok. But your problem could be text editor you`re using to edit your scripts.
btw, you can debug script from console, just call it likeand give here the output...Code: Select all
sh -x /mtd_rwarea/SamyGO.sh
Code: Select all
#!/bin/sh
#SamyGo Extensions
/mtd_tlib/GGame/SamyGO/rcSGO &
exit
debugging the script as you suggested with -sh -x /mtd_rwarea/SamyGO.sh yields this output. I know why it fails at the telnet bind because I already have telnet enabled. But the problem is when I restart the TV, telnet is not automatically enabled....I still have to run telnetenabler out of the content library......
Code: Select all
# sh -x /mtd_rwarea/SamyGO.sh
+ /mtd_tlib/GGame/SamyGO/rcSGO
+
: not found/SamyGO.sh: /mtd_rwarea/SamyGO.sh: 3:
+ exit
# mount: Mounting devpts on /dev/pts failed: Device or resource busy
telnetd: bind: Address already in use