diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-13 00:44:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-13 00:44:27 +0000 |
commit | 81a3c7b2d2c5260eebf386585cde2281553b6ba4 (patch) | |
tree | a7463244a5e44c8403beb90a74bc07cd15ed997e /contrib/package/freifunk-watchdog/Makefile | |
parent | 2399dafe57885b88f3daa37c5ab2e5a6fbe19ccb (diff) |
contrib/package/freifunk-watchdog: add sysupgrade hook to terminate ffwatchd before system upgrade
Diffstat (limited to 'contrib/package/freifunk-watchdog/Makefile')
-rw-r--r-- | contrib/package/freifunk-watchdog/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/package/freifunk-watchdog/Makefile b/contrib/package/freifunk-watchdog/Makefile index fc1e9d7e05..439e0478c5 100644 --- a/contrib/package/freifunk-watchdog/Makefile +++ b/contrib/package/freifunk-watchdog/Makefile @@ -47,6 +47,8 @@ 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)) |