Jelajahi Sumber

get info_config.sh to run #1136

needed to get the port
UltimateByte 9 tahun lalu
induk
melakukan
8c0f2b967c
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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 }')