summaryrefslogtreecommitdiff
blob: 13f3bbb055150203dee35aacd1c034a7ec15b03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/yaggui/files/yaggui.sh,v 1.1 2004/08/30 20:16:52 squinky86 Exp $

if [ ! "$(ps -A | grep -e giftd)" ]
then
	echo "Error! Unable to find giFT daemon!"
	echo "Attempting to start the giFT daemon..."
	giftd > /dev/null &
	if [ ! "$(ps -A | grep -e giftd)" ]
	then
		echo "Could not start the giFT daemon! Continuing to load Yaggui..."
	else
		echo "giFT daemon started, continuing to load Yaggui..."
	fi
fi

java -jar /usr/share/yaggui/lib/Yaggui.jar