View previous topic :: View next topic |
Author |
Message |
Travis86 n00b
Joined: 14 Feb 2005 Posts: 47 Location: The Land of GMT -6
|
Posted: Sat Feb 26, 2005 3:25 am Post subject: Difference between "boot" and "default" |
|
|
I was wanting to add sshd to start at boot time with rc-update. What is the difference between "boot" and "default" in rc-update? I think sshd probably would be under "boot" in any event, but I was just wondering what the difference was.
Thanks |
|
Back to top |
|
|
zerojay Veteran
Joined: 09 Aug 2003 Posts: 1033
|
Posted: Sat Feb 26, 2005 3:57 am Post subject: Re: Difference between "boot" and "default&qu |
|
|
Travis86 wrote: | I was wanting to add sshd to start at boot time with rc-update. What is the difference between "boot" and "default" in rc-update? I think sshd probably would be under "boot" in any event, but I was just wondering what the difference was.
Thanks |
boot gets executed first before anything marked as default. There's absolutely no point to putting sshd as boot whatsoever as all it might do is start up sshd maybe 5-10 seconds sooner in the boot process. |
|
Back to top |
|
|
Travis86 n00b
Joined: 14 Feb 2005 Posts: 47 Location: The Land of GMT -6
|
Posted: Sat Feb 26, 2005 5:14 am Post subject: |
|
|
Hmmmm. Ok. Do the other options just start things after "default" runs? |
|
Back to top |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Sat Feb 26, 2005 7:41 am Post subject: |
|
|
Anything in boot is stuff thats required for the system to actually startup properly. Its equivalent to booting into single-user mode.
default is equivalent to runlevel 3, which is the normal user runlevel. So things like networking, loggers, sound etc... should go in the default runlevel. Things like fs checks, partition mounting and so on should go in the boot runlevel. |
|
Back to top |
|
|
|