summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 7d692d9..49b4ab4 100644
--- a/functions
+++ b/functions
@@ -4,7 +4,7 @@ auto_modules ()
aliases="$(find /sys/devices/ -name modalias -exec cat {} +)"
mods=""
for a in $aliases; do
- m="$(resolve-modalias "/lib/modules/${KERNELVERSION}/modules.alias" "$a")"
+ m="$(modprobe --set-version ${KERNELVERSION} --resolve-alias "$a")"
[ -n "$m" ] && mods="$mods $m"
done