Sponsored Content
Operating Systems OS X (Apple) Are you sure you want to quit Safari? Post 303032436 by hicksd8 on Monday 18th of March 2019 06:21:29 AM
Old 03-18-2019
I appreciate that what I pointed to is really old stuff but I do know that a top design agency which uses lots of Macs and Linux workstations has UPS's installed that, when a power outage occurs, runs the whole studio on battery backup for an hour and then lands all the boxes gracefully. Failure to land gracefully is not an option. They use Safari all the time so how does that work? The APC service runs a script to shutdown.
 
DETECTUPS(8)						      System Manager's Manual						      DETECTUPS(8)

NAME
detectups - UPS detection/powerd configuration generator SYNOPSIS
/sbin/detectups [tty] DESCRIPTION
detectups monitors the serial port connected to an UPS device and will attempt to determine the method of UPS notification of power outage. It will ask you to remove the power cord from the wall to the UPS, or push the UPS's test button. It will then determine what all has hap- pened and ask to generate a config file based on your UPS and cable configuration. detectups needs to watch a tty with modem control prop- erties. Please refer to the powerd documentation for further information. ARGUMENTS
Serial-Device Some serial port that is not being used by some other device, and does not share an interrupt with any other serial port. /etc/powerd.conf FILES
/etc/powerd.conf powerd configuration file that detectups generates /etc/inittab init is what actually issues the shutdown SEE ALSO
powerd(8), shutdown(8), wall(1), inittab(5). AUTHOR
James Brents <James@nistix.com> (with parts of this man page borrowed from all over the Linux community) DETECTUPS(8)
All times are GMT -4. The time now is 07:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy