summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-01-19 21:15:09 -0800
committerGitHub <noreply@github.com>2020-01-19 21:15:09 -0800
commit9d8dbdd86ee8fe39469d7c5a25e61ceb4ae18acb (patch)
tree8c44e30531ee35a9e31c6c944460e441a4b2238e
parent323ddb9e23ca1e8e27e4ed34a77cf3909758de9f (diff)
parent0b04dd34a0cd706a7be33da3b7536f3c50714c8e (diff)
Merge pull request #11064 from tofurky/nut_fix_other_and_otherflag
nut: fix other/otherflag custom variables in nut-server.init
-rw-r--r--net/nut/Makefile2
-rwxr-xr-xnet/nut/files/nut-server.init4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/nut/Makefile b/net/nut/Makefile
index bb3c79e17..68049b5ea 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:=19
+PKG_RELEASE:=20
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-server.init b/net/nut/files/nut-server.init
index 6f0847973..a03d6b9cf 100755
--- a/net/nut/files/nut-server.init
+++ b/net/nut/files/nut-server.init
@@ -203,8 +203,8 @@ build_driver_config() {
fi
}
- config_list_foreach "$cfg" other other
- config_list_foreach "$cfg" other otherflag
+ config_list_foreach "$cfg" other other other
+ config_list_foreach "$cfg" otherflag other otherflag
echo "" >>$UPS_C
havedriver=1
}