Date: Wed, 21 Jun 2006 09:42:55 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.subr src/share/man/man8 rc.subr.8 Message-ID: <200606210942.k5L9gtAi060504@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2006-06-21 09:42:55 UTC
FreeBSD src repository
Modified files:
etc rc.subr
share/man/man8 rc.subr.8
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606210942.k5L9gtAi060504>
