소스 검색

get info_config.sh to run #1136

needed to get the port
UltimateByte 9 년 전
부모
커밋
8c0f2b967c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 }')