Nut: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 1: Line 1:
[[http://www.networkupstools.org/ NEtwork UPS Tools]]
[[http://www.networkupstools.org/ Network UPS Tools]]





Revision as of 16:34, 31 August 2006

[Network UPS Tools]


./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