Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically eject/mount disks on sleep/wake' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically eject/mount disks on sleep/wake
Authored by: NicleT on Apr 05, '08 07:15:22AM

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 Apr 05, '08 08:00:00AM
Ooops! I meant "... .wakeup script...".

[ Reply to This | # ]
Automatically eject/mount disks on sleep/wake
Authored by: djc0 on Apr 05, '08 06:52:46PM

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 | # ]