summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-06-10 13:40:37 +0000
committerRod Whitby <rod@whitby.id.au>2005-06-10 13:40:37 +0000
commit72e6945a310f41c42f102a39cd9f1e476a4eb4bc (patch)
treef7015d7d2fffc372b5e43b807bd1e4ea3d260a11 /packages
parent92f7968e66515def2a26e7c6b28ea5e8bd1c6a1f (diff)
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitkeeper/openembedded 2005/06/10 06:40:18-07:00 bkbits.net!nslu2-linux.adm Merge bk://oe-devel.bkbits.net/openembedded into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/10 15:01:32+02:00 utwente.nl!koen mmc.agent: add sleep 1 to mmc.agent to work around buggy drivers BKrev: 42a998556BzkESR3j1hBVIB8DHPezg
Diffstat (limited to 'packages')
-rw-r--r--packages/linux-hotplug/files/mmc.agent3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/linux-hotplug/files/mmc.agent b/packages/linux-hotplug/files/mmc.agent
index c8f7026fe3..3b2050d7eb 100644
--- a/packages/linux-hotplug/files/mmc.agent
+++ b/packages/linux-hotplug/files/mmc.agent
@@ -30,6 +30,7 @@ case `uname -r` in
esac
if [ "$ACTION" = "add" ] ; then
+ sleep 1
echo -n add > /dev/console
for n in 1 2 3 4 ; do
device=/dev/$devpath$n
@@ -39,7 +40,7 @@ if [ "$ACTION" = "add" ] ; then
card=/mnt/card$n
fi
[ -b $device ] || break
- echo flash on $device > /dev/console
+ echo " flash on $device" > /dev/console
[ -d $card ] || mkdir -p $card
mount $MMC_MOUNT_OPTIONS $device $card
done