Starting apc-upsd automatically on boot

To start the apc-upsd daemon automatically on boot add the following line to your rc.local file


if [ -x /usr/local/sbin/apc-upsd ]; then
/usr/local/sbin/apc-upsd & echo -n 'APC UPSD '
fi