File: INSTALL

package info (click to toggle)
wmnut 0.09-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 192 kB
  • ctags: 135
  • sloc: ansic: 900; makefile: 68
file content (33 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Installation instructions for WMNUT.

Requirements
--------------------------------------------------------------
  WMNUT requires the Xpm library (which should be available on
most machines with XFree86 installed) and NUT framework
(www.exploits.org/nut) installed with misc files (upsfetch.h/o
installed in /usr/local/ups/misc by make install-misc).

  In order to compile WMNUT using the Makefile, GNU make must
be used (FreeBSD users, the default BSD 'make' does not work).

Installation
--------------------------------------------------------------
1) % tar -zxvf wmnut-X.YZ.tar.gz
2) % cd wmnut-X.YZ/wmnut/
3) % make (or gmake on most *BSD systems)
4) % make install (must be root) or simply copy binary (and
     optionally the man page) to a directory in your path.
5) (Optional) edit and tune (if needed) wmnut/wmnutrc, then copy
   it to your home or/and etc directory :
   % cp wmnut/wmnutrc /etc/wmnutrc
	or / and 
   % cp wmnut/wmnutrc ~/.wmnutrc

Note that if both files exist, "~/.wmnutrc" takes precedence.

6) % wmnut & (or 'wmnut -h' for help, or 'man wmnut' for the man page)
If no parameter is given, wmnut will try to access the UPS at
"localhost" address ; otherwise try "wmnut -U upsname@hostname"


Be sure to read the HINTS and TODO files too!