Subject: CVS commit: pkgsrc/sysutils/ups-nut
To: None <pkgsrc-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: pkgsrc-changes
Date: 08/15/2006 12:07:16
Module Name: pkgsrc
Committed By: ghen
Date: Tue Aug 15 12:07:15 UTC 2006
Modified Files:
pkgsrc/sysutils/ups-nut: Makefile
pkgsrc/sysutils/ups-nut/files: upsd.sh upsmon.sh
Log Message:
rc.d scripts: upsmon does not require upsd <running on the same machine>, but
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.
To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 pkgsrc/sysutils/ups-nut/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/sysutils/ups-nut/files/upsd.sh \
pkgsrc/sysutils/ups-nut/files/upsmon.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.