Hi all,
i am a noobe and using TC for past 3 days.
I have an issue in setting up the start-up script. I need to run a script that contains "java -jar ..etc". (I have JRE installed and can run the script manually)
I tried to link the script to start-up in 2 ways,
1. I added the call to script in /opt/bootlocal.sh
./home/tc/app/myscript
but this gives an error stating JAVA not found. so i thought this script is initialized even before java loaded
2. Adding a flag file /usr/local/tce.installed/myscript
content of myscript:
#/bin/sh
./home/tc/app/myscript
but i dont know why, the second one also fails without any log. could some one help me in fixing my start-up scripts.
Thanks