site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Tue, Jul 20, 2010 at 16:54, Stéphane Sudre <ssudre@intego.com> wrote:
What is the recommended way to friendly restart (or request to restart) the Mac when there is _no_ active Aqua session?
This would be done from a launchd daemon.
A violent solution could be to perform a shutdown -r now ...
shutdown(8) reads: "The shutdown utility provides an automated shutdown procedure for super- users to nicely notify users when the system is shutting down, saving them from system administrators, hackers, and gurus, who would otherwise not bother with such niceties." It also states that launchd is signalled appropriately. I wouldn't consider 'shutdown -r now' to be violent, just rapid. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com