On Saturday January 24 2004 07:04 am, Kurt Guenther wrote: > I did an: > > rc-update del xdm > > and removed it. How do I add it to runlevel 4? No man page. > "rc-update<enter>" seems to indicate that > > rc-update add runlevel4 > > might work, but it doesn't. > > --Kurt
You might want to have a read of the rc-scripts guide: http://www.gentoo.org/doc/en/rc-scripts.xml Gentoo uses virtual runlevels -- have a look in /etc/runlevels/ What I think you want to do is something like this: bacuhec # mkdir /etc/runlevels/gui bacuhec # cp -P /etc/runlevels/default/* /etc/runlevels/gui/ bacuhec # rc-update add xdm gui * xdm added to runlevel gui * Caching service dependencies... [ ok ] * rc-update complete. And then to change to the gui runlevel type: bacuhec # rc gui and back: bacuhec # rc default To make init 4 work, go to /etc/inittab and change the line: 4:4:wait:/sbin/rc default to 4:4:wait:/sbin/rc gui and you can then use `init 4' and such to change runlevel. HTH -Eric -- Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jeff Raskin -- [EMAIL PROTECTED] mailing list
