Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adding runlevels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
myrhillion
n00b
n00b


Joined: 20 Oct 2002
Posts: 9
Location: NC

PostPosted: Sun Oct 20, 2002 4:29 am    Post subject: adding runlevels Reply with quote

Okay,

I want the following runlevels, I think, but let me state my goals first.
The rc-script doc, wasn't exactly explicit about creating a new runlevel, just mentions nonetwork as an example.

goals: modify gentoo to fit my dell inspiron 8100 situation.
use a port replicator as well.

Allow variances in docked, undocked, nonetwork in startup services.

docked
should not start net.eth0
should start xdm (gdm really)
undocked
should not start net.eth1
should start xdm (gdm really), but with alternate XF86Config file
should check for presence of wireless card and bring up if present.

So the questions are:

How do I add a new virtual runlevel to gentoo?

Is it as easy as copying the default direcotry in /etc/runlevels
and modifying it?

Do any commands need to be run after the new directory is created?

How does /etc/inittab need to be modified to accomodate the new runlevel?


Thanks for the help,

Myrhillion
_________________
Cheers,

Myrhillion
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum