1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 15:05:31 +02:00
openwrt-xburst/package/om2p-watchdog/files/om2p-watchdog.init
juhosg 29cb2db261 package: add om2p-watchdog script
Based on a patch by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28972 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 &
}