diff options
author | Jon Hood <squinky86@gentoo.org> | 2006-04-19 02:10:48 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2006-04-19 02:10:48 +0000 |
commit | afb885cecf3d9797094f206eaa48d898cbdb3dc1 (patch) | |
tree | f64fbea826a565b013bd76490a5dd48ea2f48cf1 /net-p2p/gift/files | |
parent | Stable on SPARC wrt bug #130209. (diff) | |
download | gentoo-2-afb885cecf3d9797094f206eaa48d898cbdb3dc1.tar.gz gentoo-2-afb885cecf3d9797094f206eaa48d898cbdb3dc1.tar.bz2 gentoo-2-afb885cecf3d9797094f206eaa48d898cbdb3dc1.zip |
Fix init script to start gift completely before checking if gift is running. #116082
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'net-p2p/gift/files')
-rw-r--r-- | net-p2p/gift/files/digest-gift-0.11.8.1 | 2 | ||||
-rw-r--r-- | net-p2p/gift/files/gift.initd | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/net-p2p/gift/files/digest-gift-0.11.8.1 b/net-p2p/gift/files/digest-gift-0.11.8.1 index 97af10a36a4d..c2bab6747504 100644 --- a/net-p2p/gift/files/digest-gift-0.11.8.1 +++ b/net-p2p/gift/files/digest-gift-0.11.8.1 @@ -1 +1,3 @@ MD5 1c70477af403af142359d07ee4a03348 gift-0.11.8.1.tar.bz2 541446 +RMD160 cef5fe571eff21a61219ce40501652c7b1997a02 gift-0.11.8.1.tar.bz2 541446 +SHA256 7b22e6d36482119a0d2dfd3e911a208439be32f554919536629b4c7c22ea5882 gift-0.11.8.1.tar.bz2 541446 diff --git a/net-p2p/gift/files/gift.initd b/net-p2p/gift/files/gift.initd index 4e624bc21035..a03a7686ef0a 100644 --- a/net-p2p/gift/files/gift.initd +++ b/net-p2p/gift/files/gift.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift/files/gift.initd,v 1.6 2005/09/16 23:32:20 mkay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift/files/gift.initd,v 1.7 2006/04/19 02:10:48 squinky86 Exp $ depend() { need net @@ -14,6 +14,7 @@ start() { --nicelevel ${NICE} -- \ --local-dir=${LOCAL_DIR} &>${LOG} & result=$? + sleep 1 [ -z "`pgrep -u ${USER} giftd`" ] && result=1 if [ $result -eq 1 ]; then eerror "Failed to start gift. Check ${LOG} for more information" |