LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-11-2004, 03:12 PM   #1
Ollir
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
Where to put autostarting shell script?


Hi,

I have a shell script which (should) start a few applications automatically during boot. However I'm not sure, what's the right directory to put the scipt in, so that it will actually be run on boot up process? Should it be /etc/init.d/rc5.d/ or /etc/init.d/rc.d/rc5.d/ or something else? ALl help appreciated like always

-Olli
 
Old 08-11-2004, 03:23 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,718

Rep: Reputation: 248Reputation: 248Reputation: 248
If your running kde, it's easy. Just place the script in ~/.kde/Autostart and it will run every time kde starts up.
 
Old 08-11-2004, 03:30 PM   #3
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308

Rep: Reputation: 30
try putting them in

/etc/rc.d/rc.local

(works for me in slack) though I looked at my mandrake /etc/rc.d directory and rc.local does exist
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
Bash put script jnusa Programming 3 09-07-2004 03:31 AM
PPPD how do I know what to put in the script? jimdaworm Slackware 4 02-29-2004 01:02 PM
how to put a shell call in a C/C++ program? Hano Programming 8 05-19-2002 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration