Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Automatically eject/mount disks on sleep/wake' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Automatically eject/mount disks on sleep/wake
Authored by: NicleT on Sat, Apr 5 2008 at 7:15AM PDT

Hi, now how can I remove all this?

I don't know if it's because I'm running 10.5.2 but this mod works erratically. When I close my laptop's lid, it can take a couple of minutes before it fall asleep and sometimes the (Firewire) HD gets unmounted and sometimes not. Why? So, if I want to remove all those files I must find them:

Where are these files :
The .sleep and .awake script files are on the ~/ folder.
I can use Terminal's rm command to delete these script files

Now, for the Bernhard Baehr's SleepWatcher utility, two installers where used:
The SleepWatcher StartupItem seems to be installed in Library/StartupItem/
But where is the sleepwatcher file ?
Is it in /usr/local/sbin/ ?
Is there other files in other places?

Thanks for your help.



[ Reply to This | # ]
Automatically eject/mount disks on sleep/wake
Authored by: NicleT on Sat, Apr 5 2008 at 8:00AM PDT
Ooops! I meant "... .wakeup script...".

[ Reply to This | # ]
Automatically eject/mount disks on sleep/wake
Authored by: djc0 on Sat, Apr 5 2008 at 6:52PM PDT
From the installer:

SleepWatcher Installer:

This package installs the following files:
/usr/local/sbin/sleepwatcher - the sleepwatcher command
/usr/local/share/man/man8/sleepwatcher.8 - manual page for sleepwatcher

SleepWatcher StartupItem Installer

This package installs the following files:
/Library/StartupItems/SleepWatcher - startup script for the sleepwatcher daemon
/etc/rc.sleep - system wide script executed by the sleepwatcher daemon when the Mac goes to sleep mode
/etc/rc.wakeup - system wide script executed by the sleepwatcher daemon when the Mac wakes up from sleep mode

Delete these files and you should be good to go.


[ Reply to This | # ]