Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rc-* and startup profiles
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
Guayasil
n00b
n00b


Joined: 30 Nov 2006
Posts: 71

PostPosted: Tue Jan 19, 2010 8:03 pm    Post subject: rc-* and startup profiles Reply with quote

:-)
Sometimes I start my system at home, then I want to start: net.ath0 (wifi) and services that depend on it.
At work I need net.eth0 (ethernet) and services that depend on it
When I'm on holidays I don't need net.ath0 nor nat.eth0. I manually run pppd when required.
Mind that there is 60 seconds timeout for dhcp on ath0 and 30 seconds on eth1.

So:
the services I want to start at boot-u depend on circumstances. Unfortunately there is one default runlevel and 'rc-update add ... default' make some scripts to start (or at least: try to start) every boot-up. Is there any smart way to create something like startup profiles?
Best regards.
/M
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Jan 19, 2010 11:02 pm    Post subject: Reply with quote

Maybe this guide is what you want.
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