diff options
| author | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-24 16:18:43 +0100 |
|---|---|---|
| committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-24 16:18:43 +0100 |
| commit | 5e0ee042c75296fb78567638b2768df5a262ad7b (patch) | |
| tree | bf8d5d9a707a8ca6ee12e29fc1045c8778585ce5 /runvdr | |
| parent | a97fcd5221aa9abd8025ce8f6091d345c1a6afbc (diff) | |
| download | vdr-5e0ee042c75296fb78567638b2768df5a262ad7b.tar.gz vdr-5e0ee042c75296fb78567638b2768df5a262ad7b.tar.bz2 | |
Implemented watchdog
Diffstat (limited to 'runvdr')
| -rwxr-xr-x | runvdr | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |
