Open mumble

This commit is contained in:
Bob Mottram 2015-08-22 16:44:16 +01:00
parent 0807ad74b1
commit 4c9aab5fa9
1 changed files with 10 additions and 4 deletions

View File

@ -102,12 +102,18 @@ fi
# Connect to IRC
if [ ! -f /usr/bin/irssi ]; then
if [ ! -f /usr/local/bin/irssi ]; then
echo 'You need irssi installed on your system'
sudo batman stop
exit 4
fi
# open mumble if it exists
if [ -f /usr/bin/mumble ]; then
if [ ! "$(pidof mumble)" ]; then
mumble &
fi
fi
irssi -c $AVAHI_DOMAIN -p $IRC_PORT -n $USER
exit 0