Browse Source

fix typo

fix typo


a


a


a
pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
36cecea73d
  1. 26
      lgsm/functions/info_messages.sh

26
lgsm/functions/info_messages.sh

@ -209,8 +209,8 @@ fn_info_message_gameserver_resource(){
echo -e "${lightyellow}Storage${default}" echo -e "${lightyellow}Storage${default}"
echo -e "${lightblue}Total:\t${default}${rootdirdu}" echo -e "${lightblue}Total:\t${default}${rootdirdu}"
echo -e "${lightblue}Serverfiles:\t${default}${serverfilesdu}" echo -e "${lightblue}Serverfiles:\t${default}${serverfilesdu}"
if [ -d "${backudpir}" ]; then if [ -d "${backupdir}" ]; then
echo -e "${lightblue}Backups:\t${default}${backudpirdu}" echo -e "${lightblue}Backups:\t${default}${backupdirdu}"
fi fi
} | column -s $'\t' -t } | column -s $'\t' -t
} }
@ -510,7 +510,7 @@ fn_info_message_script(){
# Rocketchat alert: off # Rocketchat alert: off
# Slack alert: off # Slack alert: off
# Telegram alert: off # Telegram alert: off
# udpate on start: off # Update on start: off
# User: lgsm # User: lgsm
# Location: /home/lgsm/csgoserver # Location: /home/lgsm/csgoserver
# Config file: /home/lgsm/csgoserver/serverfiles/csgo/cfg/csgoserver.cfg # Config file: /home/lgsm/csgoserver/serverfiles/csgo/cfg/csgoserver.cfg
@ -559,9 +559,9 @@ fn_info_message_script(){
# Telegram alert # Telegram alert
echo -e "${lightblue}Telegram alert:\t${default}${telegramalert}" echo -e "${lightblue}Telegram alert:\t${default}${telegramalert}"
# udpate on start # Update on start
if [ -n "${udpateonstart}" ]; then if [ -n "${updateonstart}" ]; then
echo -e "${lightblue}udpate on start:\t${default}${udpateonstart}" echo -e "${lightblue}Update on start:\t${default}${updateonstart}"
fi fi
# User # User
@ -601,18 +601,18 @@ fn_info_message_backup(){
echo -e "" echo -e ""
echo -e "${lightgreen}Backups${default}" echo -e "${lightgreen}Backups${default}"
fn_messages_separator fn_messages_separator
if [ ! -d "${backudpir}" ]||[ "${backupcount}" == "0" ]; then if [ ! -d "${backupdir}" ]||[ "${backupcount}" == "0" ]; then
echo -e "No Backups created" echo -e "No Backups created"
else else
{ {
echo -e "${lightblue}No. of backups:\t${default}${backupcount}" echo -e "${lightblue}No. of backups:\t${default}${backupcount}"
echo -e "${lightblue}Latest backup:${default}" echo -e "${lightblue}Latest backup:${default}"
if [ "${lastbackudpaysago}" == "0" ]; then if [ "${lastbackupdaysago}" == "0" ]; then
echo -e "${lightblue} date:\t${default}${lastbackudpate} (less than 1 day ago)" echo -e "${lightblue} date:\t${default}${lastbackupdate} (less than 1 day ago)"
elif [ "${lastbackudpaysago}" == "1" ]; then elif [ "${lastbackupdaysago}" == "1" ]; then
echo -e "${lightblue} date:\t${default}${lastbackudpate} (1 day ago)" echo -e "${lightblue} date:\t${default}${lastbackupdate} (1 day ago)"
else else
echo -e "${lightblue} date:\t${default}${lastbackudpate} (${lastbackudpaysago} days ago)" echo -e "${lightblue} date:\t${default}${lastbackupdate} (${lastbackupdaysago} days ago)"
fi fi
echo -e "${lightblue} file:\t${default}${lastbackup}" echo -e "${lightblue} file:\t${default}${lastbackup}"
echo -e "${lightblue} size:\t${default}${lastbackupsize}" echo -e "${lightblue} size:\t${default}${lastbackupsize}"
@ -1084,7 +1084,7 @@ fn_info_message_bfv(){
} | column -s $'\t' -t } | column -s $'\t' -t
} }
# Not udpated to new format as cant get server to start # Not updated to new format as cant get server to start
fn_info_message_rw(){ fn_info_message_rw(){
{ {
fn_port "header" fn_port "header"

Loading…
Cancel
Save