still, upsd should start before upsmon when they are running on the same
machine. The current setup (where upsmon.sh has REQUIRE: upsd) results in
errors like "rcorder: requirement `upsd' in file `upsmon' has no providers."
when you don't copy the upsd script to /etc/rc.d and set upsd=NO in
/etc/rc.conf.
Hence, remove REQUIRE: upsd from upsmon.sh and add BEFORE: upsmon to upsd.sh,
as suggested by jnemeth on tech-userlevel@. Bump PKGREVISION.
Many changes, including
* various configuation file format changes
* most UPS drivers enhanced
* upsmon/upssched support a lockfile
* chroot jails supported
* various bugfixes
(Refer to http://random.networkupstools.org/source/1.4/new-1.4.1.txt
for more information)
pkg update based on work sent in private email by Daniel Farrugia,
with various fixes by me.
as they might not be there depending on whether INSTALL_RCD_SCRIPTS is set
in /etc/mk.conf when the package is built. Instead, assume that the other
rc.d scripts are in the same place as this "meta" script and locate them
using "dirname $0". Problem noted by Stoned Elipot <seb@netbsd.org> in
private email.
Also replace rc.d scripts with much better ones by Luke Mewburn
<lukem@wasabisystems.com> that were slightly editted by me to have some
minimal functionality on pre-rc.d systems.
Changes are too much to list here, see "Changes" in the distribution
for a detailed list. Various bugfixes and enhancements.
Based on a package provided by collver@linuxfreemail.com.