summaryrefslogtreecommitdiffstats
path: root/install/usb
diff options
context:
space:
mode:
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"