|
|
@ -535,7 +535,7 @@ 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) |
|
|
|
awk '/BindIP/ { print; print "BindIP = \"${travisip}\","; next }1' "${serverfiles}/serverfiles/config.lua" > "${serverfiles}/serverfiles/config.lua" |
|
|
|
awk '/BindIP/ { print; print "BindIP = \"${travisip}\","; next }1' "${serverfiles}/config.lua" > "${serverfiles}/config.lua" |
|
|
|
|
|
|
|
echo "" |
|
|
|
echo "3.1 - start" |
|
|
|