summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-27 07:37:33 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-27 07:37:33 +0200
commit7107140cbe31ac87a98035da229af58a57d994b4 (patch)
tree05da3eaff23de4693387933beb4ea6589f8aba30
parentab1275798e931e24682c1f38fed4084f3618b2d6 (diff)
downloadvdr-7107140cbe31ac87a98035da229af58a57d994b4.tar.gz
vdr-7107140cbe31ac87a98035da229af58a57d994b4.tar.bz2
Changed the check whether the driver is loaded
-rw-r--r--HISTORY4
-rwxr-xr-xrunvdr4
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: