.TH DH_INSTALLMODULES 1 "" "Debhelper Commands" "Debhelper Commands" .SH NAME dh_installmodules \- register modules with modutils .SH SYNOPSIS .B dh_installmodules .I "[debhelper options] [-n]" .SH "DESCRIPTION" dh_installmodules is a debhelper program that is responsible for registering kernel modules with modutils. .P A file named debian/package.modules (debian/modules may be used for the first binary package in debian/control) will be installed as etc/modutils/package in the package build directory. .P Then postinst and postrm commands are automatically generated to register the modules when the package is installed. See .BR dh_installdeb (1) for an explanation of how this works. .SH OPTIONS .TP .B debhelper options See .BR debhelper (1) for a list of options common to all debhelper commands. .TP .B \-n, \--noscripts Do not modify postinst/postrm scripts. .SH ENVIRONMENT See .BR debhelper (1) for a list of environment variables that affect all debhelper commands. .SH NOTES Note that this command is not idempotent. "dh_clean -k" 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" .BR debhelper (1) .SH AUTHOR Joey Hess