ups-nut: fix typo in rc.d script Reported by Brandon Applegate in PR 57479. Bump PKGREVISION.diff -r1.70 -r1.71 pkgsrc/sysutils/ups-nut/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.70 2023/01/08 01:32:54 gdt Exp $ | 1 | # $NetBSD: Makefile,v 1.71 2023/06/22 05:31:07 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 5 | 3 | PKGREVISION= 6 | |
4 | .include "Makefile.common" | 4 | .include "Makefile.common" | |
5 | 5 | |||
6 | PKGNAME= ups-${DISTNAME} | 6 | PKGNAME= ups-${DISTNAME} | |
7 | COMMENT= Network UPS Tools | 7 | COMMENT= Network UPS Tools | |
8 | 8 | |||
9 | SUBST_CLASSES+= man-so | 9 | SUBST_CLASSES+= man-so | |
10 | SUBST_MESSAGE.man-so= Fixing manpage .so references. | 10 | SUBST_MESSAGE.man-so= Fixing manpage .so references. | |
11 | SUBST_STAGE.man-so= pre-build | 11 | SUBST_STAGE.man-so= pre-build | |
12 | SUBST_FILES.man-so= docs/man/*.[0-9] | 12 | SUBST_FILES.man-so= docs/man/*.[0-9] | |
13 | SUBST_SED.man-so= -e 's,^\.so \([^/]*\)\.\([0-9]\)$$,.so man\2/\1.\2,' | 13 | SUBST_SED.man-so= -e 's,^\.so \([^/]*\)\.\([0-9]\)$$,.so man\2/\1.\2,' | |
14 | SUBST_NOOP_OK.man-so= yes | 14 | SUBST_NOOP_OK.man-so= yes | |
15 | 15 | |||
16 | # Don't regenerate any files in tools/. | 16 | # Don't regenerate any files in tools/. |
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | #!@RCD_SCRIPTS_SHELL@ | 1 | #!@RCD_SCRIPTS_SHELL@ | |
2 | # | 2 | # | |
3 | # $NetBSD: upskillpower.sh,v 1.1 2023/01/08 01:14:23 gdt Exp $ | 3 | # $NetBSD: upskillpower.sh,v 1.2 2023/06/22 05:31:07 wiz Exp $ | |
4 | # | 4 | # | |
5 | # PROVIDE: upskillpower | 5 | # PROVIDE: upskillpower | |
6 | # REQUIRE: mountcritremote | 6 | # REQUIRE: mountcritremote | |
7 | # BEFORE: upsdriver altq downinterfaces | 7 | # BEFORE: upsdriver altqd downinterfaces | |
8 | # KEYWORD: shutdown | 8 | # KEYWORD: shutdown | |
9 | 9 | |||
10 | # This script shuts off power, if upsmon has decided to shutdown | 10 | # This script shuts off power, if upsmon has decided to shutdown | |
11 | # because of low battery/runtime. This is logically part of upsmon | 11 | # because of low battery/runtime. This is logically part of upsmon | |
12 | # but should run later in shutdown. | 12 | # but should run later in shutdown. | |
13 | 13 | |||
14 | . /etc/rc.subr | 14 | . /etc/rc.subr | |
15 | 15 | |||
16 | name="upskillpower" | 16 | name="upskillpower" | |
17 | rcvar=upsmon | 17 | rcvar=upsmon | |
18 | 18 | |||
19 | start_empty() | 19 | start_empty() | |
20 | { | 20 | { |