2 # Copyright (C) 2011 OpenWrt.org
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/om-watchdog
20 URL:=http://openwrt.org/
23 define Package/om-watchdog/description
24 This package contains the hw watchdog script for the OM1P and OM2P device.
36 define Package/om-watchdog/install
37 $(INSTALL_DIR) $(1)/etc/init.d/
38 $(INSTALL_DIR) $(1)/sbin/
39 $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
40 $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
44 $(eval $(call BuildPackage,om-watchdog))