openbsd-ports/sysutils/nut/pkg/MESSAGE-main
sthen 8052dca2ba from upstream repository;
* 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.
2010-01-15 11:25:15 +00:00

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