Nut: Difference between revisions

From DWIKI
(Network UPS Tools)
No edit summary
Line 1: Line 1:
'''What is nut and where do I get it?'''


  ./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups
  ./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups

Revision as of 16:24, 31 August 2006

What is nut and where do I get it?

./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups
make
make install
make install-conf
groupadd ups
useradd -g ups ups
chown ups.ups /dev/ttyS0
chmod 0600 /dev/ttyS0
mkdir /var/state/ups
chmod 0700 /var/state/ups
chown ups.ups /var/state/ups

first ups.conf


upsdrvctl start
upsd -u ups &
upsmon -u ups