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
13 include $(INCLUDE_DIR)/package.mk
15 define Package/om-watchdog
19 URL:=http://openwrt.org/
22 define Package/om-watchdog/description
23 This package contains the hw watchdog script for the OM1P and OM2P device.
29 define Package/om-watchdog/install
30 $(INSTALL_DIR) $(1)/etc/init.d/
31 $(INSTALL_DIR) $(1)/sbin/
32 $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
33 $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
36 $(eval $(call BuildPackage,om-watchdog))