]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - config/vdr/bin/runvdr
3 # runvdr: Loads the DVB driver and runs VDR
5 # If VDR exits abnormally, the driver will be reloaded
8 # Any command line parameters will be passed on to the
9 # actual 'vdr' program.
12 PLUGOPTS
="-Pstreamdev-server"
15 VDRCMD
="$VDRPRG -w 60 -c /opt/vdr/etc $PLUGOPTS $*"
17 KILL
="killall -q -TERM"
19 if [ "$(ps -A | grep " vdr
")" != "" ]; then
20 echo vdr is already running
!
28 # If you have stability Problems at tuning or similar
29 # unload and reload the dvb-modules here ...
30 # Example is for Hauppauge Nexus 2.0
39 if test $?
-eq 0 -o $?
-eq 2; then exit; fi
42 echo "`date` restarting VDR"