summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-20 20:11:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-20 20:11:56 +0000
commit4f6fca3be9238b6b125f0a97345996a72c17e1ce (patch)
tree3eaf4b9bf828e6ee18d82738d61a24be1fdaa37f /contrib/package
parent2dd2698e6754aef6011de3dbde445756ae713183 (diff)
contrib/package/freifunk-watchdog: don't kill watchdog daemon before sysupgrade, prepares support for atheros platforms
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/freifunk-watchdog/Makefile4
-rw-r--r--contrib/package/freifunk-watchdog/files/sysupgrade.hook7
2 files changed, 1 insertions, 10 deletions
diff --git a/contrib/package/freifunk-watchdog/Makefile b/contrib/package/freifunk-watchdog/Makefile
index 4876a94de..e3ff67401 100644
--- a/contrib/package/freifunk-watchdog/Makefile
+++ b/contrib/package/freifunk-watchdog/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-watchdog
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DEPENDS := uci
@@ -48,8 +48,6 @@ define Package/freifunk-watchdog/install
$(INSTALL_BIN) ./files/freifunk-watchdog.init $(1)/etc/init.d/freifunk-watchdog
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ffwatchd $(1)/usr/sbin/
- $(INSTALL_DIR) $(1)/lib/upgrade
- $(INSTALL_DATA) ./files/sysupgrade.hook $(1)/lib/upgrade/kill-ffwatchd.sh
endef
$(eval $(call BuildPackage,freifunk-watchdog))
diff --git a/contrib/package/freifunk-watchdog/files/sysupgrade.hook b/contrib/package/freifunk-watchdog/files/sysupgrade.hook
deleted file mode 100644
index e124c39c5..000000000
--- a/contrib/package/freifunk-watchdog/files/sysupgrade.hook
+++ /dev/null
@@ -1,7 +0,0 @@
-kill_freifunk_watchdog() {
- v "Terminating ffwatchd..."
- killall ffwatchd
- killall crond
-}
-
-export sysupgrade_pre_upgrade="${sysupgrade_pre_upgrade:+$sysupgrade_pre_upgrade }kill_freifunk_watchdog"