summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
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