nut: Actually do FSD when required
authorDaniel F. Dickinson <redacted>
Sun, 28 Apr 2019 20:10:27 +0000 (20:10 +0000)
committerDaniel F. Dickinson <redacted>
Sun, 28 Apr 2019 20:44:15 +0000 (20:44 +0000)
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 <redacted>
net/nut/Makefile
net/nut/files/nutshutdown

index 555f973575e312fac332c3ba9f9bb11eba8b62d7..9f84ed26e626f85932f92a3138ae95df0c3390de 100644 (file)
@@ -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/
index 8400c9a6ec7997798591069854a28dd26d24f292..86fe01bb957e0eaad442830e21f5f16014f451f8 100755 (executable)
@@ -47,3 +47,5 @@ do_fsd() {
                poweroff
        fi
 }
+
+do_fsd
git clone https://git.99rst.org/PROJECT