|
|
@ -512,7 +512,7 @@ echo -e "" |
|
|
|
echo -e "\e[92mPorts\e[0m" |
|
|
|
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = |
|
|
|
echo -e "Change ports by editing the command-line" |
|
|
|
echo -e "parameters in ${selfname}." |
|
|
|
echo -e "parameters in ${servercfgfullpath}." |
|
|
|
echo -e "" |
|
|
|
echo -e "Useful port diagnostic command:" |
|
|
|
echo -e "netstat -atunp | grep terraia" |
|
|
@ -520,8 +520,6 @@ echo -e "" |
|
|
|
{ |
|
|
|
echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" |
|
|
|
echo -e "> Game\tINBOUND\t${port}\ttcp" |
|
|
|
echo -e "> Query\tINBOUND\t${queryport}\ttcp" |
|
|
|
echo -e "> Rcon\tINBOUND\t${rconport}\ttcp" |
|
|
|
} >> .fn_details_ports |
|
|
|
column -s $'\t' -t .fn_details_ports |
|
|
|
rm -f .fn_details_ports |
|
|
|