Nut: Difference between revisions
From DWIKI
No edit summary |
(Network UPS Tools) |
||
Line 1: | Line 1: | ||
./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups | ./configure --prefix=/usr/local --sysconfdir=/etc/ups --with-user=ups | ||
make | make | ||
Line 12: | Line 14: | ||
first ups.conf | first ups.conf | ||
upsdrvctl start | |||
upsd -u ups & | |||
upsmon -u ups |
Revision as of 17:45, 16 July 2006
./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