1 #!/bin/sh /etc/rc.common
3 # Copyright (C) 2011 OpenWrt.org
11 PROG
=/sbin
/om-watchdog
14 local board
=$
(board_name
)
16 if [ -r /lib
/ar71xx.sh
]; then
50 elif [ "$board" = "teltonika,rut5xx" ]; then
54 #we assume it is om1p in this case
64 [ "$gpio" != "255" ] ||
return
67 procd_set_param
command "${PROG}" "${gpio}"
68 procd_set_param respawn