Execute a script after bootup


Forum: Other Help Topics
Topic: Execute a script after bootup
started by: mgmont

Posted by mgmont on July 11 2005,00:25
I know I have seen an explanation for this in the forums, but I could not locate it.  

What I want to do is to execute a script that I wrote automatically when ever I boot up the computer.  Specifically the script would cause festival to speak a greeting message any time the computer is booted or rebooted.

Festival is automatically loaded as a mydsl application and the script works OK if manually run, but I can not seem to find the proper file or place to cause the script to be automatically run.

Can anyone point me in the right direction?

Thanks,

Mel

Posted by adssse on July 11 2005,00:44
I believe if you want to execute it when X starts than you would have to put it in .xinitrc. Otherwise if you want it to run even when not booting into X I believe that you would put it in /opt/bootlocal.sh . Hope this helps.
Posted by mgmont on July 11 2005,02:41
Thanks adssse!  You were right on.  I put a path to my script in both places as an experiment and the message was spoken before X was started and again after X was started.  

Thanks again,

Mel

Posted by adssse on July 11 2005,03:45
Glad I could help.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.