mumble_linux32 rsync Murmur [Mumble server] murmur.sh -fg -v 1000 none ^#*(\s|\t)*host=.*$ host= murmur.ini ^#*(\s|\t)*port=.*$ port= murmur.ini ^#*(\s|\t)*users=.*$ users= murmur.ini ^#*(\s|\t)*icesecretwrite=.*$ icesecretwrite= murmur.ini ^#*(\s|\t)*gtmurmur_icesecret=.*$ gtmurmur_icesecret= murmur.ini ^#*(\s|\t)*registerName=.*$ registerName= murmur.ini ^#*(\s|\t)*gtmurmur_ip=.*$ gtmurmur_ip= murmur.ini ^#*(\s|\t)*gtmurmur_port=.*$ gtmurmur_port= murmur.ini ^#*(\s|\t)*ice=\"tcp -h 127\.0\.0\.1 -p 6[0-9]* ice="tcp -h 127.0.0.1 -p 6 murmur.ini ^#*(\s|\t)*logfile=.*$ logfile=murmur.log murmur.ini rm -f murmur-static_x86*.tar.bz2 for entry in `ls -1`; do if test -d $entry; then if test -e "$entry"/murmur.x86; then cp -Rf "$entry"/* . rm -Rf "$entry" fi fi done echo '#!/bin/bash CLIP=$* if test -e murmur.x86; then chmod +x murmur.x86 ./murmur.x86 $CLIP & echo $! > murmur.pid trap bashtrap EXIT clear bashtrap() { kill $(cat murmur.pid) } if test -e gtmurmur-static; then chmod +x gtmurmur-static ./gtmurmur-static else echo "gtmurmur-static: file not found." echo "Unable to query the server, to enable queries:" echo "- Download GTmurmur Plugin from:" echo "https://www.gametracker.com/downloads/gtmurmurplugin.php" echo "- Extract gtmurmur-static in the base folder of this server and restart it." wait $(cat murmur.pid) fi else echo "murmur.x86: file not found." echo "ERROR: The server binary does not exists, please install it:" echo "- Visit http://sourceforge.net/projects/mumble/files/Mumble/ and change to the folder of the latest version." echo "- Get the download URL for murmur-static_x86-x.x.x.tar.bz2, where x.x.x is the version of the package." echo "- Go to Game Monitor and click on [Install / Update manually], paste the package URL there, and click [Update server], " echo " once the installation finishes, run the server again." fi' > murmur.sh chmod +x murmur.sh