cvs commit: src/etc rc.subr src/share/man/man8 rc.subr.8
yar at FreeBSD.org
Wed Jun 21 09:42:56 UTC 2006
yar 2006-06-21 09:42:55 UTC
FreeBSD src repository
Quite a number of rc.d scripts try to load kernel modules. Many
of them do that conditionally depending on kldstat. The code is
duplicated all over, but bugs can be uniqie.
To make the things more consistent, introduce a new rc.subr function,
load_kld, which takes care of loading a kernel module conditionally.
(Found this lying for a while in my p4 branch for various hacks.)
Revision Changes Path
1.59 +39 -0 src/etc/rc.subr
1.13 +16 -0 src/share/man/man8/rc.subr.8
More information about the cvs-src