|
@ -23,7 +23,7 @@ if [ "${gamename}" == "TeamSpeak 3" ]; then |
|
|
elif [ "${gamename}" == "Mumble" ]; then |
|
|
elif [ "${gamename}" == "Mumble" ]; then |
|
|
# 1: Server is listening |
|
|
# 1: Server is listening |
|
|
# 0: Server is not listening, considered closed |
|
|
# 0: Server is not listening, considered closed |
|
|
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep 64738 | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }') |
|
|
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep ${port} | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }') |
|
|
if [ -z "${mumblepid}" ]; then |
|
|
if [ -z "${mumblepid}" ]; then |
|
|
status=0 |
|
|
status=0 |
|
|
else |
|
|
else |
|
|