summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-watchdog/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-15 17:25:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-15 17:25:24 +0000
commit05a16326708a0c7cf6593f8ee75c79ff80c2e1f1 (patch)
treea2ff1f5de4d862763e819dee89d900fe9a930919 /contrib/package/freifunk-watchdog/Makefile
parentdc7cf4417d7bdaa95227de2e476b8c82ae11be6a (diff)
contrib/package: make freifunk-watchdog more generic
This change is based on a patch by "flyn" from https://dev.openwrt.org/ticket/11868 .
Diffstat (limited to 'contrib/package/freifunk-watchdog/Makefile')
-rw-r--r--contrib/package/freifunk-watchdog/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/package/freifunk-watchdog/Makefile b/contrib/package/freifunk-watchdog/Makefile
index dcc3ac4b73..33ba33da3e 100644
--- a/contrib/package/freifunk-watchdog/Makefile
+++ b/contrib/package/freifunk-watchdog/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
+# Copyright (C) 2009-2012 Jo-Philipp Wich <xm@subsignal.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-watchdog
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DEPENDS := uci
@@ -46,6 +46,8 @@ endef
define Package/freifunk-watchdog/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/freifunk-watchdog.init $(1)/etc/init.d/freifunk-watchdog
+ $(INSTALL_DIR) $(1)/etc/config
+ $(INSTALL_CONF) ./files/freifunk-watchdog.config $(1)/etc/config/freifunk-watchdog
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ffwatchd $(1)/usr/sbin/
endef