From 986f4679936cb0afe7afe3be58bfe5584ed378de Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 16 Mar 2002 16:22:12 +0100 Subject: Replaced 'killproc' with 'killall' in 'runvdr' --- CONTRIBUTORS | 3 +++ HISTORY | 4 ++++ runvdr | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 5dc4faf2..3adfbd96 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -230,3 +230,6 @@ Bernd Schweikert Mirko Günther for suggesting the -m command line option for suggesting the SVDRP command VOLU + +Achim Lange + for replacing 'killproc' with 'killall' in 'runvdr' to make it work on Debian diff --git a/HISTORY b/HISTORY index 7d7cd391..1855a852 100644 --- a/HISTORY +++ b/HISTORY @@ -1107,3 +1107,7 @@ Video Disk Recorder Revision History (like the EPG descriptions or the results of commands executed from the "Commands" menu). - Fixed high CPU usage in transfer mode. +- Replaced 'killproc' with 'killall' in 'runvdr', since apparently 'killproc' + is not available by default on some Linux distributions, whereas 'killall' is. + Please check if your system provides 'killall' - if it doesn't, please change + this back in 'runvdr' and report this (thanks to Achim Lange). diff --git a/runvdr b/runvdr index afd645fc..13ee7329 100755 --- a/runvdr +++ b/runvdr @@ -18,14 +18,14 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: runvdr 1.8 2001/07/27 07:35:19 kls Exp $ +# $Id: runvdr 1.9 2002/03/16 16:22:12 kls Exp $ DVBDIR="../DVB/driver" VDRPRG="./vdr" VDRCMD="$VDRPRG -w 60 $*" LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`" -KILLPROC="/sbin/killproc -TERM" +KILL="/usr/bin/killall -q -TERM" # Load driver if it hasn't been loaded already: if [ $LSMOD -eq 0 ] ; then @@ -37,7 +37,7 @@ while (true) do if test $? -eq 0; then exit; fi date echo "restarting VDR" - $KILLPROC $VDRPRG + $KILL $VDRPRG sleep 10 (cd $DVBDIR; make rmmod; make insmod) date -- cgit v1.2.3