xref: /netbsd-src/share/man/man5/modules.conf.5 (revision eb6e09f00cc04cda4b512a43e6674a3214831368)
1*eb6e09f0Swiz.\"        $NetBSD: modules.conf.5,v 1.2 2015/04/20 06:50:13 wiz Exp $
27ba4328bSjmcneill.\"
37ba4328bSjmcneill.\" Copyright (c) 2015 Jared McNeill <jmcneill@invisible.ca>
47ba4328bSjmcneill.\" All rights reserved.
57ba4328bSjmcneill.\"
67ba4328bSjmcneill.\" Redistribution and use in source and binary forms, with or without
77ba4328bSjmcneill.\" modification, are permitted provided that the following conditions
87ba4328bSjmcneill.\" are met:
97ba4328bSjmcneill.\" 1. Redistributions of source code must retain the above copyright
107ba4328bSjmcneill.\"    notice, this list of conditions and the following disclaimer.
117ba4328bSjmcneill.\" 2. Redistributions in binary form must reproduce the above copyright
127ba4328bSjmcneill.\"    notice, this list of conditions and the following disclaimer in the
137ba4328bSjmcneill.\"    documentation and/or other materials provided with the distribution.
147ba4328bSjmcneill.\"
157ba4328bSjmcneill.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
167ba4328bSjmcneill.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
177ba4328bSjmcneill.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
187ba4328bSjmcneill.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
197ba4328bSjmcneill.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
207ba4328bSjmcneill.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
217ba4328bSjmcneill.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
227ba4328bSjmcneill.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
237ba4328bSjmcneill.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
247ba4328bSjmcneill.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
257ba4328bSjmcneill.\"
267ba4328bSjmcneill.Dd March 21, 2015
277ba4328bSjmcneill.Dt MODULES.CONF 5
287ba4328bSjmcneill.Os
297ba4328bSjmcneill.Sh NAME
307ba4328bSjmcneill.Nm modules.conf
317ba4328bSjmcneill.Nd Kernel module config file
327ba4328bSjmcneill.Sh DESCRIPTION
337ba4328bSjmcneillThe
347ba4328bSjmcneill.Nm
357ba4328bSjmcneillfile is read by the
367ba4328bSjmcneill.Pa modules
377ba4328bSjmcneillrc.d script during system start-up to load modules at boot,
387ba4328bSjmcneillbefore the system security level is raised.
397ba4328bSjmcneill.Ss FILE FORMAT
407ba4328bSjmcneillLines starting with a hash
417ba4328bSjmcneill.Pq Sq #
427ba4328bSjmcneilland empty lines are ignored.
437ba4328bSjmcneillAll other lines are passed to
447ba4328bSjmcneill.Xr modload 8 .
457ba4328bSjmcneill.Sh FILES
467ba4328bSjmcneill.Bl -tag -width XXetcXmodulesXconfXX
477ba4328bSjmcneill.It Pa /etc/modules.conf
487ba4328bSjmcneillThe
497ba4328bSjmcneill.Nm
507ba4328bSjmcneillconfiguration file resides in
517ba4328bSjmcneill.Pa /etc .
527ba4328bSjmcneill.It Pa /etc/rc.d/modules
537ba4328bSjmcneill.Xr rc.d 8
547ba4328bSjmcneillscript that parses
557ba4328bSjmcneill.Nm .
56*eb6e09f0Swiz.El
577ba4328bSjmcneill.Sh SEE ALSO
587ba4328bSjmcneill.Xr modload 8 ,
597ba4328bSjmcneill.Xr rc 8
60