From 9bcc18099be5084306ae1015f62e1d1ea4f3c741 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 25 Jun 2011 08:06:13 -0400 Subject: functions: support $BASEDIR in modprobe Signed-off-by: Dave Reisner --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') 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[@]//-/_}" -- cgit v1.2.3-24-g4f1b