1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/apcupsd/files/pkg-message.in
Danilo G. Baio 1936d5d190 sysutils/apcupsd: Several improvements
Add support for running multiple instances of apcupsd[1]
Add an option to use `shutdown -p` rather than `shutdown -h`[2]
Set as @sample several scripts that can be customized[3]
Add an option for build with MODBUS USB driver support (Enabled by default)[4]
Set LICENSE_FILE [5]
Sort OPTIONS and make a small adjustment in pkg-message
Take maintainer'ship

PR:		180336 [1]
PR:		187924 [2][3]
PR:		215809 [4]
PR:		220002 [5]

Submitted by:	leres@ee.lbl.gov [1]
Submitted by:	tdb [3]
Submitted by:	ipluta@wp.pl [4]
Submitted by:	takefu@airport.fm [5]

Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11224
2017-06-19 22:45:58 +00:00

26 lines
863 B
Plaintext

**********************************************************************
Read the manual:
http://www.apcupsd.org/manual/manual.html
http://www.apcupsd.org/manual/manual.pdf
Sample files and scripts are installed in %%ETCDIR%%.
You need to modify %%ETCDIR%%/apcupsd.conf as follows:
For serial cable: DEVICE /dev/cuadX (or /dev/cuaaX for [45.]x)
For USB cable: DEVICE (yes, leave it blank after DEVICE)
NOTE that for USB cable you need uhid support.
To compile this driver into the kernel, place the following line in your
kernel configuration file:
device uhid
Alternatively, to load the driver as a module at boot time, place the
following line in loader.conf(5):
uhid_load="YES"
Add apcupsd_enable=YES to your /etc/rc.conf[.local] to have apcupsd
starting up at boot time.
**********************************************************************