summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/autodetect3
1 files changed, 1 insertions, 2 deletions
diff --git a/install/autodetect b/install/autodetect
index 5c86eb0..6b8477f 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -54,8 +54,7 @@ install ()
fi
for m in ${AUTODETECT}; do
- modname="${m%.gz}"
- modname="$(basename ${modname%.ko})"
+ modname="$(get_module_name "${m}")"
echo "${modname}" >> "${MODULE_FILE}"
done