Browse Source

get info_config.sh to run #1136

needed to get the port
pull/1138/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
8c0f2b967c
  1. 2
      lgsm/functions/check_status.sh

2
lgsm/functions/check_status.sh

@ -21,6 +21,8 @@ if [ "${gamename}" == "TeamSpeak 3" ]; then
fi
elif [ "${gamename}" == "Mumble" ]; then
# Get config info
info_config.sh
# 1: Server is listening
# 0: Server is not listening, considered closed
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep ${port} | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }')

Loading…
Cancel
Save