diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-06-21 18:38:04 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-06-21 18:38:22 +0200 |
commit | 02d387b2370215d51d1aa8958fce42cd099bee29 (patch) | |
tree | 96b9e9368344db974a70d2131486b4614fe23de2 /install/modconf | |
parent | 8ac740cbb14a5971897501e81a99e25767953841 (diff) | |
download | mkinitcpio-02d387b2370215d51d1aa8958fce42cd099bee29.tar.gz mkinitcpio-02d387b2370215d51d1aa8958fce42cd099bee29.tar.xz |
add second param to add_full_dir to allow filtering files
Use this to only add files matching *.conf in the modconf hook.
Fixes FS#39994.
Diffstat (limited to 'install/modconf')
-rw-r--r-- | install/modconf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/modconf b/install/modconf index b06b51a..06cb997 100644 --- a/install/modconf +++ b/install/modconf @@ -1,8 +1,8 @@ #!/bin/bash build() { - add_full_dir /etc/modprobe.d - add_full_dir /usr/lib/modprobe.d + add_full_dir /etc/modprobe.d '*.conf' + add_full_dir /usr/lib/modprobe.d '*.conf' } help() { |