Greets list, Jerry,

Jerry McBride <[EMAIL PROTECTED]> 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 

Reply via email to