summaryrefslogtreecommitdiff
path: root/net/nut
diff options
context:
space:
mode:
authorPascal Coudurier <coudu@wanadoo.fr>2022-01-04 14:07:59 +0100
committerRosen Penev <rosenp@gmail.com>2022-01-11 16:27:19 -0800
commita46fd908dfb4d2d33f7bec46df9244d712b75d88 (patch)
tree45cc1d1cdd3f23ea102b16548804ec7a8d245cfa /net/nut
parenta00735ec8c974f8dd3326ed241cfb99cec0d48ea (diff)
nut: fix typo in nut-monitor init script
This fixes a typo in the nut-monitor init script when building config file from uci config. Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
Diffstat (limited to 'net/nut')
-rw-r--r--net/nut/Makefile2
-rwxr-xr-xnet/nut/files/nut-monitor.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/nut/Makefile b/net/nut/Makefile
index b44afbcf5..9a12b927f 100644
--- a/net/nut/Makefile
+++ b/net/nut/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nut
PKG_VERSION:=2.7.4
-PKG_RELEASE:=23
+PKG_RELEASE:=24
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/
diff --git a/net/nut/files/nut-monitor.init b/net/nut/files/nut-monitor.init
index e57a2870b..b39c5e3a5 100755
--- a/net/nut/files/nut-monitor.init
+++ b/net/nut/files/nut-monitor.init
@@ -95,7 +95,7 @@ nut_upsmon_conf() {
echo "NOTIFYFLAG COMMOK $(setnotify "$cfg" commoknotify)" ; \
echo "NOTIFYFLAG COMMBAD $(setnotify "$cfg" commbadnotify)" ; \
echo "NOTIFYFLAG SHUTDOWN $(setnotify "$cfg" shutdownnotify)" ; \
- echo "NOTIFYFLAG REPLBATT $(setnotify "$cfg" repolbattnotify)" ; \
+ echo "NOTIFYFLAG REPLBATT $(setnotify "$cfg" replbattnotify)" ; \
echo "NOTIFYFLAG NOCOMM $(setnotify "$cfg" nocommnotify)" ; \
echo "NOTIFYFLAG NOPARENT $(setnotify "$cfg" noparentnotify)" ; \
} >> "$UPSMON_C"