upsshutdown(8) mojave man page | unix.com

Man Page: upsshutdown

Operating Environment: mojave

Section: 8

UPSSHUTDOWN(8)						    BSD System Manager's Manual 					    UPSSHUTDOWN(8)

NAME
upsshutdown -- UPS emergency low power shutdown script
DESCRIPTION
upsshutdown is a script that runs automatically when the system performs an emergency UPS low power shutdown. The script is run before shutdown(8) is invoked. upsshutdown only runs if one of the three shutdown rules is enabled and true: "percentage remaining," "time remain- ing," or "time since loss of power." These settings can be changed using pmset(1) or Energy Saver in System Preferences. The system administrator may modify upsshutdown. The script should only contain commands that must run in the case of an emergency UPS shut- down. It should not contain any commands that would otherwise be executed during a normal shutdown since the normal shutdown procedure fol- lows invocation of upsshutdown.
LOCATION
/usr/libexec/upsshutdown
SEE ALSO
pmset(1), ioupsd(8) Darwin October 25, 2005 Darwin
Related Man Pages
pmset(1) - opendarwin
halt(8) - osx
reboot(8) - osx
clone(8) - freebsd
clone(8) - opensolaris
Similar Topics in the Unix Linux Community
Cannot extract libraries using sed
My first PERL incarnation... Audio Oscillograph
Controlling user input
How can I direct messages from mac console.app to a log file?
[BASH] eval command not expanding variables as expected.