LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2002, 04:48 AM   #1
f_mooraby
LQ Newbie
 
Registered: Oct 2002
Location: Swindon, UK
Distribution: SUSE 7.3
Posts: 5

Rep: Reputation: 0
Question How to autostart a script on booting


Hi

I am pretty new in Linux. I have written a simple script which runs fine. However, I want it to run automatically on booting linux. I have include in in /etc/init.d/rc5.d/ folder but nothing happens. Maybe I am copying it in the wrong place. I am using SUSE 7.3

Thanks in advance
 
Old 10-18-2002, 05:34 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Standard scripts run only thosefiles from rc.?.d directories that begin with 'S' or 'K'. Change your script name and it should be OK.
 
Old 10-18-2002, 06:38 PM   #3
f_mooraby
LQ Newbie
 
Registered: Oct 2002
Location: Swindon, UK
Distribution: SUSE 7.3
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Mara, it really did work. You are really a guru. Thanks for the quick response as well.
 
Old 10-20-2002, 04:16 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
You're welcome.
 
  


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 script adding autostart gnome script Coolrunr Programming 3 01-01-2009 02:23 PM
Setting up an autostart script ryan0204 Red Hat 2 07-12-2005 02:49 AM
Setting up an autostart script ryan0204 Linux - Software 2 07-10-2005 05:04 PM
AutoStart a Script extremebfn Slackware 2 09-11-2004 09:25 PM
Waimea Autostart script?? simbolo Linux - Software 7 02-12-2003 02:50 PM


All times are GMT -5. The time now is 01:52 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