4c6ac456e2369e5d5cd1ca1cedf51e0ac22dc5db
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
)
47 #we assume it is om1p in this case
57 [ "$gpio" != "255" ] ||
return
60 procd_set_param
command "${PROG}" "${gpio}"
61 procd_set_param respawn