From c25b7510415ff2327341e9dc4fcc1817a7949b8e Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" Date: Sun, 28 Apr 2019 20:10:27 +0000 Subject: [PATCH] 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 --- net/nut/Makefile | 2 +- net/nut/files/nutshutdown | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/net/nut/Makefile b/net/nut/Makefile index 555f973575..9f84ed26e6 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 8400c9a6ec..86fe01bb95 100755 --- a/net/nut/files/nutshutdown +++ b/net/nut/files/nutshutdown @@ -47,3 +47,5 @@ do_fsd() { poweroff fi } + +do_fsd -- 2.30.2