diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-22 22:41:50 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-26 02:08:57 +0100 |
commit | 56cda33a8cdfd3f11803cd8f7bd79be15f6ca23f (patch) | |
tree | 40ce7f323cb565958ef334afe364730f5254d0ae /install/modconf | |
parent | 97368c0e78f3a4fe4d62f7aedde88d4be13bfdba (diff) | |
download | mkinitcpio-56cda33a8cdfd3f11803cd8f7bd79be15f6ca23f.tar.gz mkinitcpio-56cda33a8cdfd3f11803cd8f7bd79be15f6ca23f.tar.xz |
modconf: add new hook to simply inclusion of modprobe config
Add this as a default in the config file.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/modconf')
-rw-r--r-- | install/modconf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/install/modconf b/install/modconf new file mode 100644 index 0000000..b06b51a --- /dev/null +++ b/install/modconf @@ -0,0 +1,15 @@ +#!/bin/bash + +build() { + add_full_dir /etc/modprobe.d + add_full_dir /usr/lib/modprobe.d +} + +help() { + cat <<HELPEOF +This hook installs modprobe configuration files from /etc/modprobe.d and +/usr/lib/modprobe.d. +HELPEOF +} + +# vim: set ft=sh ts=4 sw=4 et: |