summaryrefslogtreecommitdiff
path: root/package/om2p-watchdog/files/om2p-watchdog.init
blob: ddec85f7a0cbaf593afc326267b65ee0f54aa4f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh /etc/rc.common
#
# Copyright (C) 2011 OpenWrt.org
#

START=11

boot() {
	. /lib/ar71xx.sh

	local board=$(ar71xx_board_name)

	[ "$board" = "om2p" ] && /sbin/om2p-watchdog &
}