/etc/rc.lkm
at system boot time, if it exists.
Each line of the file is of the form
path
options
entry
postinstall
output
when
Except for the path, all other fields can be "-" to indicate empty.
The
path
is either an absolute pathname, or the name of a file in
/lkm
or
/usr/lkm
that is the LKM to be loaded.
The options are some combination of the -d and -v options to modload(8).
The
entry
is the C symbol to call to initialize the module, defaulting to
xxxinit().
The postinstall script is run after the LKM is installed.
The output of the ld(1) command is stored in output.
The
when
field specifies at which time in the startup process the LKM is loaded.
There are three predefined values which correspond to three points in
the processing of the system startup script
/etc/rc
:
/usr
file system can already be mounted at this time.
/etc/fstab
are mounted (the
/usr
and
/var
file systems are already present).
A "-" entry defaults to BEFORENET.
/etc/lkm.conf
,
/etc/rc
,
/etc/rc.d/lkm
,
/etc/rc.lkm