1 #!/bin/sh /etc/rc.common
3 # Copyright (C) 2011 OpenWrt.org
11 PROG=/sbin/om-watchdog
14 if [ -r /lib/ar71xx.sh ]; then
16 local board=$(ar71xx_board_name)
48 #we assume it is om1p in this case
58 [ "$gpio" != "255" ] || return
61 procd_set_param command "${PROG}" "${gpio}"
62 procd_set_param respawn