summaryrefslogtreecommitdiff
blob: 7b7c89b43cbc5b08a28bee1ccb54ed63a9550f60 (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
# $Id$

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