summaryrefslogtreecommitdiff
path: root/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-29 12:40:08 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-29 12:40:08 +0000
commit78475fad86b12b2a7d754910d915d30b522b6402 (patch)
tree7359ec3f83ff2dd87710000ca9e08baad8e22d2b /packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix
parent31ded767a58bfc922b6d04121b4bdf1e07e46a2b (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/29 12:00:48+00:00 nexus.co.uk!pb Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/29 12:00:29+00:00 nexus.co.uk!pb try to add support for 'below' directive in modules.conf 2004/12/29 12:58:12+01:00 handhelds.org!CoreDump Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded 2004/12/29 12:58:01+01:00 handhelds.org!CoreDump opie-ftp: Remove APPTYPE=binary as it is a quicjlauncher app BKrev: 41d2a5a8hEZC6Mn76QZIVmre0WaTLQ
Diffstat (limited to 'packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix')
-rw-r--r--packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol
index baccb3a0aa..7b92507e86 100644
--- a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol
+++ b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol
@@ -83,9 +83,7 @@ kill_task()
case "$ACTION" in
'insert')
- # Get available partitions through dmesg. The "tail -1" is needed as
- # sometimes the partitions are printed twice by the kernel.
- #OK_PARTS="`dmesg | tail -3 | grep mmcda | tail -1| sed s/^.*\:\ //`"
+ # Read available partitions from /proc/partitions.
OK_PARTS="`cat /proc/partitions |awk '{print $4}'| grep mmcd`"
if test "`echo "$OK_PARTS" | wc -l | awk '{print $1}`" -gt 1