Subject: CVS commit: pkgsrc/sysutils/ups-nut
From: Geert Hendrickx
Date: 2006-08-15 14:07:15
Message id: 20060815120716.041CA211CA@cvs.netbsd.org

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.

Files:
RevisionActionfile
1.45modifypkgsrc/sysutils/ups-nut/Makefile
1.7modifypkgsrc/sysutils/ups-nut/files/upsd.sh
1.7modifypkgsrc/sysutils/ups-nut/files/upsmon.sh