[arch-projects] [PATCH 2/3] functions: support $BASEDIR in modprobe
Dave Reisner
dreisner at archlinux.org
Sat Jun 25 17:04:52 EDT 2011
From: Dave Reisner <d at falconindy.com>
Signed-off-by: Dave Reisner <d at falconindy.com>
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index ab0f850..ee6921c 100644
--- a/functions
+++ b/functions
@@ -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[@]//-/_}"
--
1.7.5.4
More information about the arch-projects
mailing list