Merge pull request #18516 from robje/cable-type
nut: add cable type nut driver config
This commit is contained in:
commit
25d3eb0770
2 changed files with 2 additions and 1 deletions
|
@ -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:=27
|
PKG_RELEASE:=28
|
||||||
|
|
||||||
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/
|
||||||
|
|
|
@ -147,6 +147,7 @@ build_driver_config() {
|
||||||
echo "[$cfg]" >>"$UPS_C"
|
echo "[$cfg]" >>"$UPS_C"
|
||||||
|
|
||||||
get_write_driver_config "$cfg" bus
|
get_write_driver_config "$cfg" bus
|
||||||
|
get_write_driver_config "$cfg" cable
|
||||||
get_write_driver_config "$cfg" community
|
get_write_driver_config "$cfg" community
|
||||||
get_write_driver_config "$cfg" desc
|
get_write_driver_config "$cfg" desc
|
||||||
get_write_driver_config "$cfg" driver "usbhid-ups"
|
get_write_driver_config "$cfg" driver "usbhid-ups"
|
||||||
|
|
Loading…
Reference in a new issue