Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ml on August 02, 2011, 06:19:26 AM

Title: start script at startup
Post by: ml on August 02, 2011, 06:19:26 AM
Hi,

I am trying to start a bash script at starup of TC.

I added in the file bootlocal.sh:

bash myscript.sh

The script reads keybord input. If I start the script from a promt, their is no problems, but at startup time its ends without to wait for input.

Any suggestions?

Thanks in advance
Title: Re: start script at startup
Post by: curaga on August 04, 2011, 12:27:40 PM
Use bootsync instead of bootlocal for interactive things.
Title: Re: start script at startup
Post by: ml on August 05, 2011, 05:06:57 AM
Thanks,

it works fine.