Browse Source
Merge pull request #11064 from tofurky/nut_fix_other_and_otherflag
nut: fix other/otherflag custom variables in nut-server.init
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
net/nut/Makefile
-
net/nut/files/nut-server.init
|
|
@ -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/ |
|
|
|
|
|
@ -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 |
|
|
|
} |
|
|
|