This worked for me, it belongs to a guy named Dan Loewenherz
My 27ā iMac from late last year started having an issue where it would restart instead of shutting down. Clicking shutdown from the log in screen didnāt pose any issuesāthat worked as expected.
After perusing forums, collecting data, and trying out almost every fix imaginable, Iāve found a solution. The issue lies in the
com.apple.Boot.plist
and
com.apple.PowerManagement.plist
files in the
/Library/Preferences/SystemConfiguration
directory.
Boot.plist
is the āconfiguration plist for the Mac OS X booterā and
PowerManagement.plist
stores āpower management settingsā.
Whether it was from downgrading from Lion to SL, or something else, for some reason these plist files got corrupted. The best way to solve the issue is to remove those files. By deleting these files, OS X will fall back to default boot and power management settings.
Iād recommend strongly that you backup to Time Machine before doing this. That said, this solution worked fine for me. Iām on Snow Leopard 10.6.7.
Read more about power management settings and Boot.plist here and here.