openwrt/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

15 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 &
}