Sfoglia il codice sorgente

get info_config.sh to run #1136

needed to get the port
UltimateByte 9 anni fa
parent
commit
8c0f2b967c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      lgsm/functions/check_status.sh

+ 2 - 0
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 }')