You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-p2p/yaggui/files/yaggui.sh

20 lines
509 B

#!/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