1 #!/bin/sh /etc/rc.common
4 PID=/var/run/ffwatchd.pid
9 if ! grep -q "$BIN" /etc/crontabs/root 2>/dev/null; then
10 echo "* * * * * $BIN running || /etc/init.d/freifunk-watchdog restart" >> /etc/crontabs/root
13 if lsmod | grep -q softdog; then
14 mknod /dev/watchdog c 10 130
22 start-stop-daemon -q -b -m -p $PID -x $BIN -S
27 start-stop-daemon -q -p $PID -x $BIN -K