1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
vdr/runvdr
2001-04-01 11:18:28 +02:00

19 lines
310 B
Bash
Executable File

#!/bin/sh
DVBDIR="../DVB/driver"
VDRPRG="./vdr"
VDRCMD="$VDRPRG -w 60"
KILLPROC="/sbin/killproc -TERM"
while (true) do
# (cd $DVBDIR; make reload)
# sleep 3
$VDRCMD
if test $? != 1; then exit; fi
date
echo "restarting VDR"
$KILLPROC $VDRPRG
sleep 10
done