Nut: Difference between revisions
From DWIKI
No edit summary |
No edit summary |
||
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 5: | Line 4: | ||
make install-conf | make install-conf | ||
groupadd ups | groupadd ups | ||
useradd ups | useradd -g ups ups | ||
chown ups.ups /etc/ttyS0 | |||
chmod 0600 /dev/ttyS0 | |||
mkdir /var/state/ups | |||
chmod 0700 /var/state/ups | |||
chown ups.ups /var/state/ups | |||
first ups.conf |
Revision as of 16:52, 15 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 /etc/ttyS0 chmod 0600 /dev/ttyS0 mkdir /var/state/ups chmod 0700 /var/state/ups chown ups.ups /var/state/ups
first ups.conf