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
committed by Rosen Penev
parent dd2c1e03e6
commit 9104a1f140
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, \