Contribute
Register

Sleepwatcher (.sleep ) not working on Lion 2.7.2

Status
Not open for further replies.
Joined
Dec 24, 2011
Messages
31
Motherboard
Mac OS X Lion
CPU
Ivy Bridge
Graphics
CPU graphic
Mac
  1. MacBook Pro
  2. Mac mini
Classic Mac
  1. 0
Mobile Phone
  1. Other
Hi All,
I was trying to fix the problem about "not properly unmounted message " with Sleepwatcher.

I use this script from another thread :
#!/bin/bash
if [ -d /Volumes/Name_of_HDD ]
then
/usr/sbin/diskutil unmount /Volumes/Name_of_HDD
fi
When I run it in terminal , it works well. But when I press sleep button, my desktop turn off very quickly and I still keep getting this error message. My .wakeup is okay. Thank for any help!!!
 
- Make sure sleepwatcher is installed properly. Did you follow all steps included in the documentation? You have to copy some files around to make sleepwatcher work as an automatic daemon/agent.
- Test sleepwatcher manually. Does "sleepwatcher -n" put the computer to sleep?
 
Status
Not open for further replies.
Back
Top