From: Daniel F. Dickinson Date: Sun, 28 Apr 2019 20:10:27 +0000 (+0000) Subject: nut: Actually do FSD when required X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c25b7510415ff2327341e9dc4fcc1817a7949b8e;p=openwrt-packages.git nut: Actually do FSD when required The code was all there but the call do the function containing it was missing, so call the function so that forced (UPS) shutdown occurs on a battery critical or manually requested FSD situation. Signed-off-by: Daniel F. Dickinson --- diff --git a/net/nut/Makefile b/net/nut/Makefile index 555f97357..9f84ed26e 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:=15 +PKG_RELEASE:=16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/ diff --git a/net/nut/files/nutshutdown b/net/nut/files/nutshutdown index 8400c9a6e..86fe01bb9 100755 --- a/net/nut/files/nutshutdown +++ b/net/nut/files/nutshutdown @@ -47,3 +47,5 @@ do_fsd() { poweroff fi } + +do_fsd