Browse Source

refining IP meaning

pull/3015/head
Daniel Gibbs 5 years ago
parent
commit
097ade59c5
  1. 7
      lgsm/functions/command_debug.sh
  2. 18
      lgsm/functions/info_messages.sh

7
lgsm/functions/command_debug.sh

@ -55,11 +55,8 @@ if [ "${glibc}" ]; then
fi fi
# Server IP # Server IP
if [ "${multiple_ip}" == "1" ]; then server echo -e "${lightblue}Game Server IP:\t${default}${ip}:${port}"
echo -e "${lightblue}Server IP:\t${default}NOT SET"
else
echo -e "${lightblue}Server IP:\t${default}${ip}:${port}"
fi
# External server IP. # External server IP.
if [ "${extip}" ]; then if [ "${extip}" ]; then
if [ "${ip}" != "${extip}" ]; then if [ "${ip}" != "${extip}" ]; then

18
lgsm/functions/info_messages.sh

@ -25,12 +25,8 @@ fn_info_message_head(){
echo -e "Hostname" echo -e "Hostname"
echo -e "${HOSTNAME}" echo -e "${HOSTNAME}"
echo -e "" echo -e ""
echo -e "Server IP" echo -e "Game Server IP"
if [ "${multiple_ip}" == "1" ]; then
echo -e "NOT SET"
else
echo -e "${ip}:${port}" echo -e "${ip}:${port}"
fi
} }
fn_info_message_distro(){ fn_info_message_distro(){
@ -113,7 +109,7 @@ fn_info_message_server_resource(){
if [ -n "${netlink}" ]; then if [ -n "${netlink}" ]; then
echo -e "${lightblue}Link Speed:\t${default}${netlink}" echo -e "${lightblue}Link Speed:\t${default}${netlink}"
fi fi
echo -e "${lightblue}IP:\t${default}${ip}" echo -e "${lightblue}Server IP:\t${default}${getip}"
if [ "${ip}" != "${extip}" ]; then if [ "${ip}" != "${extip}" ]; then
echo -e "${lightblue}Internet IP:\t${default}${extip}" echo -e "${lightblue}Internet IP:\t${default}${extip}"
fi fi
@ -158,7 +154,7 @@ fn_info_message_gameserver(){
# Counter-Strike: Global Offensive Server Details # Counter-Strike: Global Offensive Server Details
# ========================================================================================================================================================================================================================================== # ==========================================================================================================================================================================================================================================
# Server name: LinuxGSM # Server name: LinuxGSM
# Server IP: 80.70.189.230:27015 # Game Server IP: 80.70.189.230:27015
# Server password: NOT SET # Server password: NOT SET
# RCON password: adminF54CC0VR # RCON password: adminF54CC0VR
# Players: 0/16 # Players: 0/16
@ -202,12 +198,8 @@ fn_info_message_gameserver(){
echo -e "${lightblue}Beta Password:\t${default}${betapassword}" echo -e "${lightblue}Beta Password:\t${default}${betapassword}"
fi fi
# Server ip # Game Server IP
if [ "${multiple_ip}" == "1" ]; then echo -e "${lightblue}Game Server IP:\t${default}${ip}:${port}"
echo -e "${lightblue}Server IP:\t${default}NOT SET"
else
echo -e "${lightblue}Server IP:\t${default}${ip}:${port}"
fi
# Internet ip # Internet ip
if [ -n "${extip}" ]; then if [ -n "${extip}" ]; then

Loading…
Cancel
Save