LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-27-2002, 05:22 PM   #1
whaase
Member
 
Registered: Aug 2002
Location: Calgary, Alberta, Canada
Distribution: Ubuntu Server, Ubuntu Desktop
Posts: 128

Rep: Reputation: 15
rc.local in Debian?


Is there a rc.local in Debian 3? If not is their something simular?

Walter
 
Old 10-27-2002, 06:13 PM   #2
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
If you mean for startupscripts it's /etc/rcS.d
 
Old 10-27-2002, 06:51 PM   #3
whaase
Member
 
Registered: Aug 2002
Location: Calgary, Alberta, Canada
Distribution: Ubuntu Server, Ubuntu Desktop
Posts: 128

Original Poster
Rep: Reputation: 15
yes, but that dirctory is empty. Am I supposed to creat a rc.local in that dir?

Walter
 
Old 10-27-2002, 08:11 PM   #4
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
Weird itīs empty, mine has 22 scripts in default install, but no, you donīt have to create a directory, you just place your startupscripts directly in /etc/rcS.d
 
Old 10-28-2002, 03:58 PM   #5
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Go to /etc/init.d/ and create a file...for example "local"
Edit it:

#!/sh/bin
.......Scripts or deamons to load at startup.........

Make the file executable:
chmod +x local

Create a symbolic Link in rc1.d or rcS.d

ln -s /etc/init.d/local /etc/rcS.d/S98local


Reboot! Enjoy!

Greetings
 
Old 10-28-2002, 06:30 PM   #6
whaase
Member
 
Registered: Aug 2002
Location: Calgary, Alberta, Canada
Distribution: Ubuntu Server, Ubuntu Desktop
Posts: 128

Original Poster
Rep: Reputation: 15
Thank you! Exactly the type of explenation i was looking for.

Walter
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
Hey where is the rc.local script in Debian? pablowablo Linux - Newbie 2 08-06-2004 09:16 AM
Local DNS from Debian Linux donz Linux - Networking 0 07-17-2003 09:54 PM
rc.local in debian chrismiceli Linux - General 2 02-08-2003 05:17 AM
Debian equiv to RedHat rc.local? severedhead Linux - General 3 01-22-2003 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration