Implemented watchdog

This commit is contained in:
Klaus Schmidinger
2001-02-24 16:18:43 +01:00
parent a97fcd5221
commit 5e0ee042c7
4 changed files with 90 additions and 24 deletions

13
runvdr Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
DVBDIR='../DVB/driver'
VDRCMD='./vdr -w 60'
while test 1; do
# (cd $DVBDIR; make reload)
# sleep 3
if $VDRCMD; then exit; fi
date
echo "restarting VDR"
sleep 10
done