Comment 29 for bug 424877

Revision history for this message
Richard Mathie (richard-mathie) wrote :

i added a hook in /ect/pm/sleep.d/11_mmc_mounts

#!/bin/sh
# mmcard must be mounted or unmounted before suspend | hibinate
case "$1" in
 hibernate|suspend)
  umount /dev/mmcblk0p1
  ;;
 thaw|resume)
  mount /dev/mmcblk0p1
  ;;
 *) exit 0
  ;;
esac

chmod +x /ect/pm/sleep.d/11_mmc_mounts

end of problem, though perhaps i should be smarter about running through mm cards, and cards which wont unmount