From 0c84efad11702fb2867cbf3435a7d2580206a72a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 10 Oct 2017 20:00:32 +0100 Subject: [PATCH] insert ip not required here --- tests/tests_jc2server.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index e1ee6511b..36d366069 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -744,16 +744,6 @@ fn_setstatus (command_monitor.sh) fn_test_result_fail -echo "" -echo "Inserting IP address" -echo "=================================" -echo "Description:" -echo "Inserting Travis IP in to config." -echo "Allows monitor to work" -travisip=$(ip -o -4 addr|grep eth0|awk '{print $4}'|grep -oe '\([0-9]\{1,3\}\.\?\)\{4\}'|grep -v 127.0.0) -sed -i "/BindIP/c\BindIP = \"${travisip}\"," "${serverfiles}/config.lua" -echo "IP: ${travisip}" - echo "" echo "5.4 - monitor - gsquery.py failure" echo "=================================" @@ -844,8 +834,6 @@ echo "Using: ${gamename}" echo "=================================" requiredstatus="OFFLINE" fn_setstatus -sleep 1 fn_print_info "Tidying up directories." -sleep 1 rm -rfv "${serverfiles}" core_exit.sh \ No newline at end of file