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 $(INSTALL_DIR
) $(1)/etc
/init.d
36 $(INSTALL_BIN
) .
/files
/initd_watchcat
$(1)/etc
/init.d
/watchcat
37 $(INSTALL_DIR
) $(1)/etc
/init.d
38 $(INSTALL_BIN
) .
/files
/uci_defaults_watchcat
$(1)/etc
/defaults
/50-watchcat
41 $(eval
$(call BuildPackage
,watchcat
))