소스 검색

Adjusted messaging

Daniel Gibbs 7 년 전
부모
커밋
944b9721ee
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      lgsm/functions/check_ip.sh

+ 2 - 6
lgsm/functions/check_ip.sh

@@ -24,14 +24,10 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
 		sleep 0.5
 		# Multiple interfaces
 		if [ "${getipwc}" -ge "2" ]; then
-		        multiple_ip=1
-		        fn_print_dots "Check IP"
-			sleep 1
-			command_arg=$(ps -o command $$ | tail -n +2 | cut -d' ' -f3)
 			if [ "${function_selfname}" == "command_details.sh" ]; then
-			    fn_print_warn "Check IP: Multiple active network interfaces found."
+			    fn_print_warn "Check IP: Multiple IP addresses found."
 			else
-			    fn_print_fail "Check IP: Multiple active network interfaces found."
+			    fn_print_fail "Check IP: Multiple IP addresses found."
 			fi
 			sleep 0.5
 			echo -en "\n"