I need some Gentoo tips...
tom
tmarinis99
Mon May 17 11:46:14 PDT 2004
Greets list, Jerry,
Jerry McBride <mcbrides9 at comcast.net> wrote:
>
>Hey list.
Hey,
>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?
I'm sorry, but I've never tried Gentoo, but I'm sure there are ways :)
The start-up scripts that reside in locations in the /etc/rc.d/r0X.d
SYS4 format, say like Caldera or Redhat, then the system numbers
are the ones you modify for networking and pcmcia are, for example
/etc/rc.d/rc.6/S10network { this is for reboot}.
" " " S07pcmcia
/etc/rc.d/rc.0/S10network { this is for shutdown or halt }
" " " S07pcmcia
ie, you should see something in your directory listing like
the above in there.
A lazy way to do this is to merely exchange the STARTUP numbers
sequence, so they could look something like a 'move' command by
root. From the command line.
Switch these numbers around to get the sequence you
want; They should now read something like
/etc/rc.d/rc.0/S07network
/etc/rc.d/rc.0/S10pcmcia
/etc/rc.d/rc.6/S07network
/etc/rc.d/rc.6/S10pcmcia
>From the command line, your work would look like this...
]$ su root
]$ Password? <your password>
]$ cd /etc/rc.d/rc.0
]# mv S07pcmcia S10pcmcia
]# mv S10network S07network
]# ls -al
.
..
/etc/rc.d/rc.0/S07network
/etc/rc.d/rc.0/S10pcmcia
..
< Repeat above steps for the /etc/rc.d/rc.6 directory which is
your reboot scripts >
Hope this helps;
---tm---
Linux Registration Number; 184093,
http://counter.li.org
__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380
Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
More information about the Linux-users
mailing list