The SleepWatcher StartupItem is a sample set of scripts for
the sleepwatcher daemon. With the package installed, any Mac user can
provide scripts .sleep and .wakup in his/her home directory that are
executed when the Mac goes to sleep mode respectively wakes up.
This package is kept in the SleepWatcher distribution for compatibility with SleepWatcher 1.0. To take advantage of the new features of SleepWatcher 2.0, you have to customize the scripts according to your needs. See the man page for sleepwatcher for more information.
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