diff options
author | Matthias Hentges <oe@hentges.net> | 2005-06-25 12:58:18 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2005-06-25 12:58:18 +0000 |
commit | 81b43c9d8dc48a547743a19606ffb3df29cf93fe (patch) | |
tree | 9d870f3f430a6b2490f9387ac79bd35b06dad56c /packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd | |
parent | 01f22eb306a0b2d56adc3db5e02d4bdf16082cd6 (diff) |
sdcontrol: Make 'kill_tasks' functional again and applied work-around for b0rked /proc/partitions from ZUG (credits go to ironstorm). /etc/init.d/sd: Use sdcontrol to umount all SD partitions. In combination with an installed 'fuser' this allows all partition to umount cleanly on a reboot.
BKrev: 42bd54eaZ4e7RowRS6hZaoK_6h41kw
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/sd | 3 |
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 |