From 7107140cbe31ac87a98035da229af58a57d994b4 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 27 Jul 2001 07:37:33 +0200 Subject: [PATCH] Changed the check whether the driver is loaded --- HISTORY | 4 +++- runvdr | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 0df2378e..5b30de29 100644 --- a/HISTORY +++ b/HISTORY @@ -570,8 +570,10 @@ Video Disk Recorder Revision History - Fixed handling a channel group separator at the very beginning of the 'channels.conf' file. -2001-07-24: Version 0.85 +2001-07-27: Version 0.85 - Added Norwegian language texts (thanks to Jørgen Tvedt). - Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on 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). diff --git a/runvdr b/runvdr index 93ca06c7..afd645fc 100755 --- a/runvdr +++ b/runvdr @@ -18,13 +18,13 @@ # See the main source file 'vdr.c' for copyright information and # 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" VDRPRG="./vdr" VDRCMD="$VDRPRG -w 60 $*" -LSMOD="`/sbin/lsmod | grep dvbdev | wc -l`" +LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`" KILLPROC="/sbin/killproc -TERM" # Load driver if it hasn't been loaded already: