aboutsummaryrefslogtreecommitdiff
path: root/net/apcupsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/apcupsd/Makefile')
-rw-r--r--net/apcupsd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/apcupsd/Makefile b/net/apcupsd/Makefile
index da18a0e16..5e4974c95 100644
--- a/net/apcupsd/Makefile
+++ b/net/apcupsd/Makefile
@@ -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, \