View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 14, 2004 7:51 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I'd like to have the following startup at boot:

samba
nfs-kernel-server
nfs-common

If I understand it correctly, I need to make a symblink to each of these and place them in one of my /etc/rc?.d dirs.

Which runlevel should I put them in? Is it /etc/rc5.d

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 12:18 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
no rc3.d

which actually supprised me since I'm used to standard debian which uses rc2.d

for it to work you need to put a symlink in this format Sxxprogram
S means run it, if you link it with K it will not run it. xx is a number between 01 and 99 that tells the system where in the boot sequence to run it. That's the hard part. The easiest way would probably be to use debians utilities which slip my mind right now. It's something like etc-defaults or something cesman has listed how to do it that way in other topics, but I'm too lazy to search and link it right now.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 10:25 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
A search of forum, would have produced...
http://mysettopbox.tv/phpBB2/viewtopic.php?t=2

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 11:01 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Actually found that link, but I wanted to add them myself for two reasons:

1. So I would learn how to do it to apply to other problems
2. So I could add specifically only those three to the system. I recently messed-up my master backend server and had to nuke the drive and do a clean install. Now everything is running smoothly again, and I want to keep it that way :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 3:20 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well what is in the other post only applies to one service at a time.

For example samba.

#update-rc.d daemon defaults

would be

#update-rc.d samba defaults


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu