Browse Source

testing if ip insert id required not added ip tools

pull/1644/head
Daniel Gibbs 8 years ago
parent
commit
0f1a70e0b2
  1. 5
      tests/tests_jc2server.sh

5
tests/tests_jc2server.sh

@ -705,8 +705,9 @@ echo "================================="
echo "Description:"
echo "Inserting Travis IP in to config."
echo "Allows monitor to work"
travisip=$(ip -o -4 addr|awk '{print $4}'|grep -oe '\([0-9]\{1,3\}\.\?\)\{4\}'|grep -v 127.0.0)
sed -i '/BindIP/c\BindIP = \"${travisip}\",' "${serverfiles}/config.lua"
#travisip=$(ip -o -4 addr|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 ""
echo "5.1 - monitor - online"
echo "================================="

Loading…
Cancel
Save