Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Execute a script after bootup, How do I auto execute a script< Next Oldest | Next Newest >
mgmont Offline





Group: Members
Posts: 77
Joined: April 2005
Posted: July 11 2005,00:25 QUOTE

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
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: July 11 2005,00:44 QUOTE

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.
Back to top
Profile PM 
mgmont Offline





Group: Members
Posts: 77
Joined: April 2005
Posted: July 11 2005,02:41 QUOTE

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
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: July 11 2005,03:45 QUOTE

Glad I could help.
Back to top
Profile PM 
3 replies since July 11 2005,00:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Execute a script after bootup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code