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
18 start-stop-daemon -q -b -m -p $PID -x $BIN -S
23 start-stop-daemon -q -p $PID -x $BIN -K