[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring PNP card *before* loading /etc/modules



*- On 24 Aug, Hwei Sheng TEOH wrote about "Configuring PNP card *before* loading /etc/modules"
> 
> So when is /etc/modules read/executed?? Is it possible to arrange stuff in the
> right order so that things happen in exactly this order: (1) isapnp executes,
> (2) the network driver module loads (ie. /etc/modules loads);
> (3) /etc/init.d/network runs and configures the network.
> 

/etc/modules is read in from the /etc/init.d/modutils script. 
According to the links in my /etc/rcS.d this order is already setup.
The /etc/rcS.d scripts are run once per boot before any runlevels are
started, see /usr/doc/sysvinit/README.runlevels.gz for more info.

% ls -1 /etc/rcS.d/*isapnp /etc/rcS.d/*modutils /etc/rcS.d/*network
/etc/rcS.d/S15isapnp
/etc/rcS.d/S20modutils
/etc/rcS.d/S40network

So isapnp is run, then modutils, then network.

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: