Problem
I have installed an APC Smart-UPS to my system using the correct serial cable and a local serial port. I ran mkdev apc and now every time I get booted into multiuser mode the system shuts down automatically.
Cause
During the run of mkdev apc you are prompted for two pieces of information:
1. Which serial port?2. How much time, in seconds, before the UPS shuts down the system?
According to the Release Notes from American Power Conversion, if
you select less than 6 minutes (360 seconds) the system will shut
down automatically. They recommend that you not configure with
less than 6 minutes. Solution
Boot the system into single-user mode.Using your favorite text editor, edit the /usr/lib/apc/ssd.ini file to increase the time. Example of ssd.ini is as follows:
TTY=/dev/tty1a #Dedicated Serial PortMaxBatRT=300 #Max Battery Run TimeModify the second line to increase the MaxBatRT to a value of 360 (6 minutes) seconds or greater.
After saving the above changes, bring the system into multiuser mode for the changes to take effect.
See also
http://www.apcc.com for more information and drivers from APC.