.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_INSTALLMODULES 1" .TH DH_INSTALLMODULES 1 2024-03-27 13.15.3 Debhelper .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dh_installmodules \- register kernel modules .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdh_installmodules\fR [\fIdebhelper\ options\fR] [\fB\-n\fR] [\fB\-\-name=\fR\fIname\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdh_installmodules\fR is a debhelper program that is responsible for registering kernel modules. .PP Kernel modules are searched for in the package build directory and if found, \fIpreinst\fR, \fIpostinst\fR and \fIpostrm\fR commands are automatically generated to run \fBdepmod\fR and register the modules when the package is installed. These commands are inserted into the maintainer scripts by \&\fBdh_installdeb\fR\|(1). .SH FILES .IX Header "FILES" .IP debian/\fIpackage\fR.modprobe 4 .IX Item "debian/package.modprobe" Installed to etc/modprobe.d/\fIpackage\fR.conf in the package build directory. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-n\fR, \fB\-\-no\-scripts\fR" 4 .IX Item "-n, --no-scripts" Do not modify \fIpreinst\fR/\fIpostinst\fR/\fIpostrm\fR scripts. .IP \fB\-\-name=\fR\fIname\fR 4 .IX Item "--name=name" When this parameter is used, \fBdh_installmodules\fR looks for and installs files named debian/\fIpackage\fR.\fIname\fR.modprobe instead of the usual debian/\fIpackage\fR.modprobe .SH NOTES .IX Header "NOTES" Note that this command is not idempotent. \fBdh_prep\fR\|(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdebhelper\fR\|(7) .PP This program is a part of debhelper. .SH AUTHOR .IX Header "AUTHOR" Joey Hess