Browse Source

nut: Fix a typo in setting a driver parameter

synchronous would not get set due to typo.  Fixed.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
lilik-openwrt-22.03
Daniel F. Dickinson 6 years ago
parent
commit
192b0f1646
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/nut/Makefile
  2. +1
    -1
      net/nut/files/nut-server.init

+ 1
- 1
net/nut/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nut PKG_NAME:=nut
PKG_VERSION:=2.7.4 PKG_VERSION:=2.7.4
PKG_RELEASE:=9
PKG_RELEASE:=10
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/ PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/


+ 1
- 1
net/nut/files/nut-server.init View File

@ -210,7 +210,7 @@ build_global_driver_config() {
get_write_driver_config "$cfg" maxretry get_write_driver_config "$cfg" maxretry
get_write_driver_config "$cfg" retrydelay get_write_driver_config "$cfg" retrydelay
get_write_driver_config "$cfg" pollinterval get_write_driver_config "$cfg" pollinterval
get_write_dirver_config "$cfg" synchronous
get_write_driver_config "$cfg" synchronous
config_get runas "$cfg" user "nut" config_get runas "$cfg" user "nut"
RUNAS="$runas" RUNAS="$runas"


Loading…
Cancel
Save