[Sussex] Ubuntu Startup Runlevel....
David Morris
slug at greenacre.no-ip.com
Fri Feb 23 18:25:26 UTC 2007
Richie Jarvis wrote:
> Hi Folks,
>
> Just a quick Q. I've just installed Ubuntu 6.10 on my fileserver, and
> have been trying to find out where the runlevel that the system comes up
> on.
>
> Now, this is the thing, being a redhat/solaris person, I've always
> simply softlinked the script in the /etc/init.d dir to the relevant
> runlevel that I want the system to come up on, in the /etc/rc3.d dir for
> commandline, and /etc/rc5.d for GUI (on redhat). The default runlevel
> that the system comes up to is defined (on redhat and solaris) in the
> /etc/inittab file with the initdefault line.
>
> At first glance, it seems that Ubuntu is slightly different - it comes
> up in runlevel 2 - I can see the /etc/init.d contains all the usual
> suspects, and the softlinks are there, but where is the inittab file?
> Google tells me that Debian uses inittab, so where is it in Ubuntu?
>
> Reason for doing this: I want to auto startup LVM and Mysql - so I just
> link them to /etc/rc2.d, right?
update-rc.d is the command to do it, I'm sure the man page will give you
better info than myself.
But it will be something like
update-rc.d mysql defaults
This adds it to all the run levels though i believe
>
> Thanks in advance....
>
> Richie
>
> __ Sussex mailing list
> Sussex at mailman.lug.org.uk
> E-mail Address: sussex at mailman.lug.org.uk
> Sussex LUG Website: http://www.sussex.lug.org.uk/
> https://mailman.lug.org.uk/mailman/listinfo/sussex
More information about the Sussex
mailing list