I need some Gentoo tips...

Roger Oberholtzer roger
Mon May 17 11:46:14 PDT 2004


On Tue, 01 Apr 2003 19:05:34 -0500
Jerry McBride <mcbrides9 at comcast.net> wrote:

> 
> Hey list.
> 
> As a new gentoo bigot... How does one re-arrange the startup scripts? On
> the laptop thta I'm  testing gentoo on, during shutdown pcmcia goes down
> and takes eth0 with it... before the net-eth0 script runs.... when the
> net-eth0 script runs, since eth0 is already down, it prints a nasty
> message that eth0 hasn't been started yet... It's bogus.
> 
> What I think should be happening is... net-eth0 should run before pcmcia
> during shutdown. If I do this manually, it works beautifully...
> 
> So, how does one re-arrange the shutdown scripts in gentoo?

The scripts are in /etc/runlevels. There are directories called 'default',
'nonetwork' and the like. The concept is identical to the /etc/rc.d (SVR4)
stuff. Just the names are changed. Oddly, the names of the scripts are not
prefixed with a number. And, the scripts contain bash functions like
'start', which get called in the appropriate context, instead of the case
statement in the/etc/rc.d system. They get run by /sbin/runscripts.sh. Maybe
there is a clue to how ordering is done there. Surely is it not strictly
alphabetic. But I don't know.


-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list