run firestarter after pcmcia with chkconfig

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Jan 6 06:31:15 UTC 2004


Am Di, den 06.01.2004 schrieb Scott Blackman um 07:12:
> Hi all,
> 
> Is posible to run /etc/rc.d/init.d/pcmcia befor 
> /etc/rc.d/init.d/firestarter with chkconfig?
> 
> Scott

Just look into the init scripts. Somewhere at top there is a line like

# chkconfig: 345 05 95

It tells chkconfig in which runlevels the service is to be started and
the two values define the start and stop point in every runlevel.

So for your case let the start value be higher in the firestarter script
than the value in the pcmcia script and for the stop point vice versa.
See man chkconfig.

Then rebuild the init script runlevel links with:

chkconfig --del pcmcia
chkconfig --del firestarter
chkconfig -add pcmcia
chkconfig -add firestarter

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





More information about the test mailing list