aboutsummaryrefslogtreecommitdiff
path: root/net/nut/Makefile
diff options
context:
space:
mode:
authorDaniel Dickinson <lede@cshore.thecshore.com>2017-01-11 18:59:15 -0500
committerDaniel Dickinson <lede@cshore.thecshore.com>2017-01-11 18:59:15 -0500
commit604f22ee69898fb1ba3807d086f70ddcbc4e1fd5 (patch)
tree26050c8c8a29e63d915a665079523f1f1780eb74 /net/nut/Makefile
parenta69c25d5e31c907f63de93358e78ba3be5a61acc (diff)
net/nut: Ship upsset.conf for nut-cgi
Per user request ship the sample upsset.conf file so that upsset functionality can be used with nut-cgi Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
Diffstat (limited to 'net/nut/Makefile')
-rw-r--r--net/nut/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nut/Makefile b/net/nut/Makefile
index c5168b4a4..714a59879 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:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/
@@ -307,6 +307,7 @@ define Package/nut-web-cgi/install
$(INSTALL_CONF) ./files/add_nut_httpd_conf $(1)/etc/uci-defaults/add_nut_httpd_conf
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/nut/upsstats.html.sample $(1)/etc/nut/upsstats.html
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/nut/upsstats-single.html.sample $(1)/etc/nut/upsstats-single.html
+ $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/nut/upsset.conf.sample $(1)/etc/nut/upsset.conf
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/nut_cgi $(1)/etc/config/nut_cgi
$(INSTALL_DIR) $(1)/etc/init.d