ar71xx: use the new om-watchdog package for OM2P
[openwrt.git] / package / om2p-watchdog / files / om2p-watchdog.init
1 #!/bin/sh /etc/rc.common
2 #
3 # Copyright (C) 2011 OpenWrt.org
4 #
5
6 START=11
7
8 boot() {
9         . /lib/ar71xx.sh
10
11         local board=$(ar71xx_board_name)
12
13         [ "$board" = "om2p" ] && /sbin/om2p-watchdog &
14 }