2 # Copyright (C) 2010 segal.di.ubi.pt
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 include $(INCLUDE_DIR)/package.mk
16 define Package/watchcat
19 TITLE:=Enable the configuration of programed reboots
20 MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
23 define Package/watchcat/description
24 Allows to configure a periodically reboot, or after loosing internet connectivity. Configured trough UCI /etc/config/system
27 define Package/watchcat/conffiles
34 define Package/watchcat/install
35 $(CP) ./files/initd_watchcat $(1)/etc/init.d/watchcat
36 $(CP) ./files/uci_defaults_watchcat $(1)/etc/defaults/50-watchcat
39 $(eval $(call BuildPackage,watchcat))