summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-08-04 20:59:39 +0000
committerJon Hood <squinky86@gentoo.org>2004-08-04 20:59:39 +0000
commitf3b506cdcde7c50cb53b110a4e68ea5127ddf7de (patch)
treec0a6a035dd3cb8e8221713cceda226e0577aaa71 /net-p2p
parentstable on alpha and ia64 (Manifest recommit) (diff)
downloadgentoo-2-f3b506cdcde7c50cb53b110a4e68ea5127ddf7de.tar.gz
gentoo-2-f3b506cdcde7c50cb53b110a4e68ea5127ddf7de.tar.bz2
gentoo-2-f3b506cdcde7c50cb53b110a4e68ea5127ddf7de.zip
updated init script, #59435
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey/ChangeLog5
-rw-r--r--net-p2p/mldonkey/files/mldonkey.initd5
2 files changed, 7 insertions, 3 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog
index 61b87cada5b4..556567ed2984 100644
--- a/net-p2p/mldonkey/ChangeLog
+++ b/net-p2p/mldonkey/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for net-p2p/mldonkey
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.61 2004/08/04 17:13:05 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.62 2004/08/04 20:59:39 squinky86 Exp $
04 Aug 2004; Jon Hood <squinky86@gentoo.org> files/mldonkey.initd:
- Fix init script thanks to Antonio <netbix@tiscali.it> in #58331.
+ Fix init script thanks to Antonio <netbix@tiscali.it> in #58331 and
+ Tiv <tivadar.szemethy@vanderbilt.edu> in #59435.
*mldonkey-2.5.22-r1 (03 Aug 2004)
diff --git a/net-p2p/mldonkey/files/mldonkey.initd b/net-p2p/mldonkey/files/mldonkey.initd
index a9064b9401e4..c844792b2897 100644
--- a/net-p2p/mldonkey/files/mldonkey.initd
+++ b/net-p2p/mldonkey/files/mldonkey.initd
@@ -37,7 +37,10 @@ start() {
then
eerror "MLDonkey could not be started! Check logfile: ${LOG}"
fi
- renice ${NICE} -u ${USER} >/dev/null
+ for i in `pgrep -u ${USER} mlnet`
+ do
+ renice -p $i ${NICE}
+ done
eend $?
}