Contribute
Register

Sleepwatcher (.sleep ) not working on Lion 2.7.2

Joined
Dec 24, 2011
Messages
32
Motherboard
Mac OS X Lion
CPU
Ivy Bridge
Graphics
CPU graphic
Mac
MacBook Pro, Mac mini
Classic Mac
Mobile Phone
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!!!
 
Joined
Jul 24, 2011
Messages
64
Motherboard
Lenovo G50-80
CPU
i5-5200U
Graphics
HD 5500 1920x1080
Mac
MacBook, Mac mini
Mobile Phone
Android
- 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?
 
Top