Re: How can a Mac be friendly restarted?
Re: How can a Mac be friendly restarted?
- Subject: Re: How can a Mac be friendly restarted?
- From: Mo McRoberts <email@hidden>
- Date: Tue, 20 Jul 2010 17:03:05 +0100
On Tue, Jul 20, 2010 at 16:54, Stéphane Sudre <email@hidden> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden