openwrtv3/package/om2p-watchdog/files/om2p-watchdog.init
Gabor Juhos 0939419e24 package: add om2p-watchdog script
Based on a patch by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 28972
2011-11-12 10:54:06 +00:00

14 lines
186 B
Bash
Executable file

#!/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 &
}