Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: shutdown -u
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shutdown -u




On 29/03/2007, at 2:16 PM, Josh Wisenbaker wrote:

Take a look at the UPS shutdown scripts and see if they are calling shutdown -u now rather than just halting.

from /usr/libexec/upsshutdown

# Take the system down.
#
if [[ -n $1 && "WaitForUPS" == $1 ]] ; then
    #
    # Wait for UPS to take the system down abruptly and unexpectedly.
    #
    shutdown -hu now "${MSG}"
else
    #
    # Gently shutdown the system immediately.
    #
    shutdown -h now "${MSG}"
fi

That's on a Universal install on a PPC server.


-- Nigel Kersten http://explanatorygap.net



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: shutdown -u (From: Dave Pooser <email@hidden>)
 >Re: shutdown -u (From: Edward R Marczak <email@hidden>)
 >Re: shutdown -u (From: Josh Wisenbaker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.