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


Click here to return to the 'Undoing this script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Undoing this script
Authored by: andrep on Jul 30, '04 07:49:36PM
You'll need to do this from Terminal's command line::

1/. Delete the .sleep script from your home directory:

cd
rm .sleep

Then, do the remaining commands, as root:

2/. Shut down the sleepwatcher daemon:

/Library/StartupItems/SleepWatcher/Sleepwatcher stop

3/. Delete the sleepwatcher daemon itself:

rm /usr/local/sbin/sleepwatcher

4/. Remove the sleepwatcher startup script:

rm -rf /Library/StartupItems/SleepWatcher

That should be it.

[ Reply to This | # ]

Undoing this script
Authored by: andrep on Jul 30, '04 08:05:49PM
Apologies, that was too hasty!

You'll also want to get rid of rc.sleep and rc.awake as well:

rm /etc/rc.sleep
rm /etc/rc.awake


[ Reply to This | # ]