diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-25 14:06:13 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-26 00:58:32 +0200 |
commit | 9bcc18099be5084306ae1015f62e1d1ea4f3c741 (patch) | |
tree | 43f240c9149f037797cd634750dea6bb483346d2 /functions | |
parent | fb8efc7425fca4fed457ceb4ca7e474ee2ffe380 (diff) | |
download | mkinitcpio-9bcc18099be5084306ae1015f62e1d1ea4f3c741.tar.gz mkinitcpio-9bcc18099be5084306ae1015f62e1d1ea4f3c741.tar.xz |
functions: support $BASEDIR in modprobe
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ auto_modules() { IFS=$'\n' read -rd '' -a mods < \ <(find /sys/devices -name modalias -exec sort -zu {} + | - xargs -0 modprobe -aRS "$KERNELVERSION" | + xargs -0 modprobe -d "$BASEDIR" -aRS "$KERNELVERSION" | sort -u) printf "%s\n" "${mods[@]//-/_}" |