From 097ade59c5d258cadc51b4cfac932e99e2b7569d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 10 Sep 2020 20:33:22 +0100 Subject: [PATCH] refining IP meaning --- lgsm/functions/command_debug.sh | 7 ++----- lgsm/functions/info_messages.sh | 20 ++++++-------------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index cbd42d287..a48975d0d 100644 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -55,11 +55,8 @@ if [ "${glibc}" ]; then fi # Server IP -if [ "${multiple_ip}" == "1" ]; then - echo -e "${lightblue}Server IP:\t${default}NOT SET" -else - echo -e "${lightblue}Server IP:\t${default}${ip}:${port}" -fi +server echo -e "${lightblue}Game Server IP:\t${default}${ip}:${port}" + # External server IP. if [ "${extip}" ]; then if [ "${ip}" != "${extip}" ]; then diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index d82462314..63f8a6232 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -25,12 +25,8 @@ fn_info_message_head(){ echo -e "Hostname" echo -e "${HOSTNAME}" echo -e "" - echo -e "Server IP" - if [ "${multiple_ip}" == "1" ]; then - echo -e "NOT SET" - else - echo -e "${ip}:${port}" - fi + echo -e "Game Server IP" + echo -e "${ip}:${port}" } fn_info_message_distro(){ @@ -113,7 +109,7 @@ fn_info_message_server_resource(){ if [ -n "${netlink}" ]; then echo -e "${lightblue}Link Speed:\t${default}${netlink}" fi - echo -e "${lightblue}IP:\t${default}${ip}" + echo -e "${lightblue}Server IP:\t${default}${getip}" if [ "${ip}" != "${extip}" ]; then echo -e "${lightblue}Internet IP:\t${default}${extip}" fi @@ -158,7 +154,7 @@ fn_info_message_gameserver(){ # Counter-Strike: Global Offensive Server Details # ========================================================================================================================================================================================================================================== # Server name: LinuxGSM - # Server IP: 80.70.189.230:27015 + # Game Server IP: 80.70.189.230:27015 # Server password: NOT SET # RCON password: adminF54CC0VR # Players: 0/16 @@ -202,12 +198,8 @@ fn_info_message_gameserver(){ echo -e "${lightblue}Beta Password:\t${default}${betapassword}" fi - # Server ip - if [ "${multiple_ip}" == "1" ]; then - echo -e "${lightblue}Server IP:\t${default}NOT SET" - else - echo -e "${lightblue}Server IP:\t${default}${ip}:${port}" - fi + # Game Server IP + echo -e "${lightblue}Game Server IP:\t${default}${ip}:${port}" # Internet ip if [ -n "${extip}" ]; then