summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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