* base the default maxconn on available filehandles. * change the error message to better indicate that it's an error not a warning. ok jasper@ while there, remove an out-of-date comment in MESSAGE-main.
11 lines
356 B
Plaintext
11 lines
356 B
Plaintext
Once you have the config files under ${SYSCONFDIR}/nut set up properly, the
|
|
following block can be added to your /etc/rc.local file to start nut.
|
|
|
|
# Start Nut
|
|
if [ -x ${PREFIX}/bin/upsdrvctl ]; then
|
|
echo -n ' nut'
|
|
${PREFIX}/bin/upsdrvctl start > /dev/null 2>&1
|
|
${PREFIX}/sbin/upsd > /dev/null 2>&1
|
|
${PREFIX}/sbin/upsmon > /dev/null 2>&1
|
|
fi
|