apcupsd: preset shutdown binary

Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
Othmar Truniger
2019-04-03 19:12:38 +02:00
parent 149afa5dcb
commit 8b618efe21
3 changed files with 16 additions and 4 deletions
+3 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apcupsd
PKG_VERSION:=3.14.14
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
PKG_LICENSE:=GPL-2.0
@@ -39,6 +39,8 @@ define Package/apcupsd-cgi
URL:=http://www.apcupsd.org/
endef
CONFIGURE_VARS += SHUTDOWN=/sbin/halt
define Build/Configure
$(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/autoconf/
$(call Build/Configure/Default, \