summaryrefslogtreecommitdiffstats
path: root/install/usb
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-04 09:29:25 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-04 09:29:25 +0200
commit35308163932b39fbeb147b09b5e807009392c46a (patch)
tree213ec1b8be0cd25e7da14880b4f3ea6584cb4fdf /install/usb
parentf5b35a26476faadaf518d4fbeef8187436e18980 (diff)
downloadmkinitcpio-35308163932b39fbeb147b09b5e807009392c46a.tar.gz
mkinitcpio-35308163932b39fbeb147b09b5e807009392c46a.tar.xz
Changes to autodetection:
General performance improvement Cleaned up excess modules git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@56 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/usb')
-rw-r--r--install/usb8
1 files changed, 6 insertions, 2 deletions
diff --git a/install/usb b/install/usb
index 03ed024..f528322 100644
--- a/install/usb
+++ b/install/usb
@@ -2,8 +2,12 @@
install ()
{
- MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl1811-hcd" -e "isp116x-hcd")
- usb_storage usbhid sd_mod sr_mod "
+ MODULES=" $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl1811-hcd" -e "isp116x-hcd")"
+
+ MODULES=$(echo ${MODULES}) #trim whitespace
+ if [ "x${MODULES}" != "x" ]; then
+ MODULES="${MODULES} usb_storage sd_mod sr_mod"
+ fi
BINARIES=""
FILES=""
SCRIPT="usb"