diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-05-07 20:54:57 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-05-07 20:54:57 +0200 |
commit | dfdb10cd264d9e928908cb13104041fd4c00d7eb (patch) | |
tree | 44fe404dd267603ee317927d090420cc3629a43c | |
parent | 2bae03669246c3709aa14e93d6c7f8d5b7ad94d1 (diff) | |
download | mkinitcpio-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-- | mkinitcpio | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 |