summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkinitcpio10
1 files changed, 3 insertions, 7 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 4b256e4..6a677e3 100644
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -113,13 +113,9 @@ source "${FUNCTIONS}"
if [ "${SHOW_AUTOMODS}" = "y" ]; then
echo "Modules autodetected:"
- for m in $(auto_modules "\.ko"); do
- echo " ${m}"
- done
- for fs in $(grep -ve nodev /proc/filesystems); do
- filname="$(modinfo -F filename ${fs} 2>/dev/null)"
- [ "x${filname}" != "x" ] && echo " ${filname}"
- done
+ source "${INSTDIR}/autodetect"
+ install
+ cat "${MODULE_FILE}"
exit 0
fi