I'm looking for the location of the system script that calls /sbin/shutdown. I want to change the flags so when the machine is shutdown from the finder, it halts the machine, but doesn't power off.
Alternately, I'd like to force the setting that "Start up automatically after a power failure" checks on power applied to start the machine every time the power comes on.
Is there a way to enforce a dirty shutdown without trashing the filesystem?