Browse Source

eth0

pull/1644/head
Daniel Gibbs 8 years ago
parent
commit
aa4a325204
  1. 4
      tests/tests_jc2server.sh

4
tests/tests_jc2server.sh

@ -705,8 +705,8 @@ echo "================================="
echo "Description:" echo "Description:"
echo "Inserting Travis IP in to config." echo "Inserting Travis IP in to config."
echo "Allows monitor to work" 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) 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" sed -i '/BindIP/c\BindIP = \"${travisip}\",' "${serverfiles}/config.lua"
echo "IP: ${ip}" echo "IP: ${ip}"
ifconfig ifconfig
echo "" echo ""

Loading…
Cancel
Save