Date: Tue, 19 Dec 2006 09:28:40 -0800 From: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> To: yar@freebsd.org Cc: freebsd-bluetooth@freebsd.org, Ronald Klop <ronald-freebsd8@klop.yi.org> Subject: Re: load_kld in bthidd missing in 6-STABLE Message-ID: <45882148.6060803@savvis.net> In-Reply-To: <op.tkrrg9eg8527sy@guido.klop.ws> References: <op.tkrrg9eg8527sy@guido.klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
Yar, Ronald Klop wrote: > Hello, > > On FreeBSD 6-STABLE (30 nov 2006) /etc/rc.d/bthidd calls the function > load_kld. This function does not exist. > If I do load the modules manually it does work. would it be possible to mfc == Revision 1.59 / (download) - annotate - [select for diffs], Wed Jun 21 09:42:55 2006 UTC (5 months, 4 weeks ago) by yar Branch: MAIN Changes since 1.58: +39 -0 lines Diff to previous 1.58 (colored) 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.) == into releng_6? or should i just fix bthidd(8) rc script? thanks, max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45882148.6060803>