About the ShutDown Manager
About the ShutDown Manager Preparation to ensure proper rebooting
The ShutDown Manager gives the user the choice on the MacII-family of
either rebooting the machine or turning off the power via a software command.
It is contained in the System Resource file on System versions 3.3 and later.
For Macintosh SE and other versions of the machine, the ShutDown Manager
either reboots the system or indicates to the user that it is now safe to toggle
off the power switch. Of the four routines associated with the ShutDown
Manager, two of them (ShutDwnPower and ShutDwnStart) are used only
by the Finder and System software. The other two, ShutDwnInstall and
ShutDwnRemove let you insert or take out shut down procedures in your
own application.
During a shut down, the System-oriented routines check to see of MultiFinder
is active and, if so, exit from there and return control to the Finder. Once that
is done (if necessary), such system housekeeping chores as closing drivers,
writing the contents of the Scrapbook to disk, and unmounting and ejecting
volumes are executed. After that, the Macintosh is either rebooted or turned
off.