|
|
#1 |
|
Prospect
Join Date: Nov 2012
Posts: 1
|
Help with unmount on sleep
Hi - really hope someone can help me.. i have just setup sleepwatcher on my Mac mini running mountain lion to unmount my network shares on sleep. This is isnt working and i believe the issue is due to mountian lion sleeping before the script is executed as it runs when i do this with the OS up and running, my script is:-
#!/bin/sh osascript -e 'tell application "Finder" to eject disks' would it be easier to write a script to unmount the drives and then send the mac to sleep, i think i can assign a shortcut to launch the script and assign this to a button on my harmony remote. I use this machine as a HTPC and my NAS has a power schedule which is causing errors when the mac wakes up. Thanks for any help you may be to provide
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|