From cb5172dbe342ce9dd35b7cecfa2bb5a661a65146 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Fri, 6 Nov 2009 20:21:19 +0800 Subject: [PATCH] 0-auto-detect: enable bluetooth for other platforms --- initrd/scripts/0-auto-detect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/initrd/scripts/0-auto-detect b/initrd/scripts/0-auto-detect index c86418f..e8fe138 100644 --- a/initrd/scripts/0-auto-detect +++ b/initrd/scripts/0-auto-detect @@ -31,8 +31,7 @@ asus_info() { # common for all Eee PC models [ -c /dev/fb0 ] || FB0DEV=i915 - BTDEV="bnep rfcomm sco btusb" - EXTMOD="eeepc-laptop $BTDEV" + EXTMOD=eeepc-laptop PREDEV=snd-hda-codec-realtek SNDDEV=snd-hda-intel CAMDEV=uvcvideo @@ -151,7 +150,8 @@ find_network_dev_name() load_modules() { if [ -n "$FOUND" ]; then - for m in $PREDEV $EXTMOD; do + BTDEV="bnep rfcomm sco btusb" + for m in $BTDEV $PREDEV $EXTMOD; do modprobe $m done [ -n "$FB0DEV" -a -z "$UVESA_MODE" ] && modprobe $FB0DEV -- 2.11.0