summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-24 16:18:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-24 16:18:43 +0100
commit5e0ee042c75296fb78567638b2768df5a262ad7b (patch)
treebf8d5d9a707a8ca6ee12e29fc1045c8778585ce5 /runvdr
parenta97fcd5221aa9abd8025ce8f6091d345c1a6afbc (diff)
downloadvdr-5e0ee042c75296fb78567638b2768df5a262ad7b.tar.gz
vdr-5e0ee042c75296fb78567638b2768df5a262ad7b.tar.bz2
Implemented watchdog
Diffstat (limited to 'runvdr')
-rwxr-xr-xrunvdr13
1 files changed, 13 insertions, 0 deletions
diff --git a/runvdr b/runvdr
new file mode 100755
index 00000000..83b2ea62
--- /dev/null
+++ b/runvdr
@@ -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