Once you have the config files under /etc/nut set up properly, the
following block can be added to your /etc/rc.local file to start nut.

# Start Nut
if [ -x /usr/local/bin/upsdrvctl ]; then
    echo -n ' nut'
    /usr/local/bin/upsdrvctl start > /dev/null 2>&1
    /usr/local/sbin/upsd > /dev/null 2>&1
    /usr/local/sbin/upsmon > /dev/null 2>&1
fi

The userid running NUT (normally _nut) must have access to the relevant
device nodes. For a UPS connected by RS232, either add _nut to group
"dialer" or change group of the relevant /dev/cua* device to _nut.
For a USB-connected UPS, change the group of /dev/ugen* and /dev/usb*
to _nut and allow the group to have write access.
