Frank Murphy wrote:
> I wan't change the startup order of some scripts.
>> network # chkconfig: 345 25 75
> NetworkManager # chkconfig: - 98 02
> netfs # chkconfig: 345 25 75
...
> 25 is startup priority, 75 kill priority.
> What I don't know is the limis of the numbers:
> Should netfs be changed to # chkconfig: 345 40 75,
> Would that ensure etch0 is up?
Sorry if you know this already, but...
If it's like Mandriva, you have directories rc?.d (rc1.d, rc2.d, etc.)
in /etc/rc.d, where ? is the runlevel.
Under these, you have symlinks to the services, with names starting Snn
or Knn, where n is a digit. Symlinks starting S mean the service is
started in that runlevel, symlinks starting K are killed when going to
that runlevel. The digits nn are to make the symlinks get listed in order.
So I think the answer to your question is, you can number them from 00
to 99. Lower numbers start first.
Frank
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!