summaryrefslogtreecommitdiff
path: root/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd')
-rw-r--r--packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
index d99f78f9be..e1c3d39ade 100644
--- a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
+++ b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
@@ -42,7 +42,10 @@ start)
stop)
echo -n "Stop SD services:"
+
+ /etc/sdcontrol compeject >/dev/null
killall sdmgr
+
if grep -q $MODULE /proc/modules ; then
/sbin/rmmod $MODULE
fi