From: Dave Reisner <[email protected]>

Signed-off-by: Dave Reisner <[email protected]>
---
 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

Reply via email to