-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 2 Apr 2003 08:57:23 +0200, Roger Oberholtzer wrote:

>On Tue, 01 Apr 2003 19:05:34 -0500
>Jerry McBride <[EMAIL PROTECTED]> 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.
>
>

Gentoo init script use dependencies to find the order in which they
should be executed:

http://www.gentoo.org/doc/en/rc-scripts.xml


Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: [EMAIL PROTECTED]
Web: http://www.intrasoft.com.ar

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0

iQA/AwUBPosLoxRcJRaVKt4XEQKC0wCgjGjM/7v0YInTMliBFBLxi944IFsAoOeD
5IIhuGwHPUMYs9Y6AKwTqnPu
=Hztf
-----END PGP SIGNATURE-----



_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to