From 02d387b2370215d51d1aa8958fce42cd099bee29 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 21 Jun 2014 12:38:04 -0400 Subject: 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. --- install/modconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install') 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() { -- cgit v1.2.3-24-g4f1b