summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-16 16:22:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-16 16:22:12 +0100
commit986f4679936cb0afe7afe3be58bfe5584ed378de (patch)
tree77c6c0b8bb1310bdc47c2ba34ecfb1e1e370ed13 /runvdr
parentf7d6a96935617ac43c7db0845330b957c96f603b (diff)
downloadvdr-986f4679936cb0afe7afe3be58bfe5584ed378de.tar.gz
vdr-986f4679936cb0afe7afe3be58bfe5584ed378de.tar.bz2
Replaced 'killproc' with 'killall' in 'runvdr'
Diffstat (limited to 'runvdr')
-rwxr-xr-xrunvdr6
1 files changed, 3 insertions, 3 deletions
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