Changed the check whether the driver is loaded

This commit is contained in:
Klaus Schmidinger 2001-07-27 07:37:33 +02:00
parent ab1275798e
commit 7107140cbe
2 changed files with 5 additions and 3 deletions

View File

@ -570,8 +570,10 @@ Video Disk Recorder Revision History
- Fixed handling a channel group separator at the very beginning of the - Fixed handling a channel group separator at the very beginning of the
'channels.conf' file. 'channels.conf' file.
2001-07-24: Version 0.85 2001-07-27: Version 0.85
- Added Norwegian language texts (thanks to Jørgen Tvedt). - Added Norwegian language texts (thanks to Jørgen Tvedt).
- Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on - Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on
systems with the KURT/utime-patch (thanks to Guido Fiala). systems with the KURT/utime-patch (thanks to Guido Fiala).
- Changed the check whether the driver is loaded in runvdr to check for the
'dvb' module (the last one loaded).

4
runvdr
View File

@ -18,13 +18,13 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: runvdr 1.7 2001/06/24 17:42:19 kls Exp $ # $Id: runvdr 1.8 2001/07/27 07:35:19 kls Exp $
DVBDIR="../DVB/driver" DVBDIR="../DVB/driver"
VDRPRG="./vdr" VDRPRG="./vdr"
VDRCMD="$VDRPRG -w 60 $*" VDRCMD="$VDRPRG -w 60 $*"
LSMOD="`/sbin/lsmod | grep dvbdev | wc -l`" LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILLPROC="/sbin/killproc -TERM" KILLPROC="/sbin/killproc -TERM"
# Load driver if it hasn't been loaded already: # Load driver if it hasn't been loaded already: