From 70d4cd72273c0b72b2a38acbe36e993acc9a4de8 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 9 Oct 2017 23:33:25 +0100 Subject: [PATCH] more ip tests --- tests/tests_jc2server.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 7c4a39c2e..e50597721 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -706,9 +706,9 @@ 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: ${ip}" -ifconfig +sed -i "/BindIP/c\BindIP = \"${travisip}\"," "${serverfiles}/config.lua" +echo "IP: ${travisip}" + echo "" echo "5.1 - monitor - online" echo "================================="