Nut: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 5: Line 5:
  groupadd ups
  groupadd ups
  useradd -g ups ups
  useradd -g ups ups
  chown ups.ups /etc/ttyS0
  chown ups.ups /dev/ttyS0
  chmod 0600 /dev/ttyS0
  chmod 0600 /dev/ttyS0
  mkdir /var/state/ups
  mkdir /var/state/ups

Revision as of 15:51, 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