summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index adfee9f..6c9193c 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -20,7 +20,7 @@ install ()
if [ ${UID} -eq 0 -o "$(groups | grep disk)" != "" ]; then
for fs in $(findfs | sort | uniq); do
- allfs="${fs} $(modprobe --resolve-alias ${fs})"
+ allfs="${fs} $(modprobe --set-version ${KERNELVERSION} --resolve-alias ${fs})"
for mod in ${allfs}; do
for modfile in $(find "${MODULEDIR}" -type f -name "${mod}.ko"); do
if [ -n "${modfile}" ]; then