summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-07 20:54:57 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-07 20:54:57 +0200
commitdfdb10cd264d9e928908cb13104041fd4c00d7eb (patch)
tree44fe404dd267603ee317927d090420cc3629a43c
parent2bae03669246c3709aa14e93d6c7f8d5b7ad94d1 (diff)
downloadmkinitcpio-dfdb10cd264d9e928908cb13104041fd4c00d7eb.tar.gz
mkinitcpio-dfdb10cd264d9e928908cb13104041fd4c00d7eb.tar.xz
Made -M switch more appropriate
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@81 880c04e9-e011-0410-abf7-b926e227c9cd
-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