diff --git a/functions/check.sh b/functions/check.sh index 669f91223..d5dd62904 100644 --- a/functions/check.sh +++ b/functions/check.sh @@ -45,4 +45,4 @@ if [ $? != 0 ]; then check_tmux.sh fi -#check_ts3status.sh # may need to move out of checks \ No newline at end of file +#info_ts3status.sh # may need to move out of checks \ No newline at end of file diff --git a/functions/command_details.sh b/functions/command_details.sh index 67fc510ce..927f0beb7 100644 --- a/functions/command_details.sh +++ b/functions/command_details.sh @@ -105,7 +105,7 @@ printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' = # online status if [ "${gamename}" == "Teamspeak 3" ]; then - check_ts3status.sh + info_ts3status.sh if [ "${ts3status}" = "Server seems to have died" ] || [ "${ts3status}" = "No server running (ts3server.pid is missing)" ]; then echo -e "\e[34mStatus:\t\e[0;31mOFFLINE\e[0m" else diff --git a/functions/command_monitor.sh b/functions/command_monitor.sh index 91498d919..f99409f8d 100644 --- a/functions/command_monitor.sh +++ b/functions/command_monitor.sh @@ -27,7 +27,7 @@ fi fn_printdots "Checking session: CHECKING" fn_scriptlog "Checking session: CHECKING" sleep 1 -check_ts3status.sh +info_ts3status.sh if [ "${ts3status}" = "Server is running" ]; then fn_printok "Checking session: OK" fn_scriptlog "Checking session: OK" diff --git a/functions/command_start.sh b/functions/command_start.sh index 7e6b2613c..9c72ae108 100644 --- a/functions/command_start.sh +++ b/functions/command_start.sh @@ -12,7 +12,7 @@ fn_start_teamspeak3(){ check_root.sh check_systemdir.sh check_logs.sh -check_ts3status.sh +info_ts3status.sh if [ "${ts3status}" != "Server is running" ]; then # Will check for updates is updateonstart is yes @@ -58,7 +58,7 @@ date > "${rootdir}/${lockselfname}" cd "${executabledir}" ./ts3server_startscript.sh start inifile="${servercfgfullpath}" > /dev/null 2>&1 sleep 1 -check_ts3status.sh +info_ts3status.sh if [ "${ts3status}" = "Server seems to have died" ] || [ "${ts3status}" = "No server running (ts3server.pid is missing)" ]; then fn_printfailnl "Unable to start ${servername}" fn_scriptlog "Unable to start ${servername}" diff --git a/functions/command_stop.sh b/functions/command_stop.sh index 63ba310f1..d567489e0 100644 --- a/functions/command_stop.sh +++ b/functions/command_stop.sh @@ -34,7 +34,7 @@ check_systemdir.sh fn_printdots "${servername}" fn_scriptlog "${servername}" sleep 1 -check_ts3status.sh +info_ts3status.sh if [ "${ts3status}" = "No server running (ts3server.pid is missing)" ]; then fn_printfail "${servername} is already stopped" fn_scriptlog "${servername} is already stopped" diff --git a/functions/core_functions.sh b/functions/core_functions.sh index 33f04ddc4..8ce5d4681 100644 --- a/functions/core_functions.sh +++ b/functions/core_functions.sh @@ -131,7 +131,7 @@ functionfile="${FUNCNAME}" fn_runfunction } -check_ts3status.sh(){ +info_ts3status.sh(){ functionfile="${FUNCNAME}" fn_runfunction } diff --git a/functions/info_ts3status.sh b/functions/info_ts3status.sh index 9e7e16a4a..c08f95f1d 100644 --- a/functions/info_ts3status.sh +++ b/functions/info_ts3status.sh @@ -1,5 +1,5 @@ #!/bin/bash -# LGSM check_ts3status.sh function +# LGSM info_ts3status.sh function # Author: Daniel Gibbs # Website: http://gameservermanagers.com lgsm_version="271215" diff --git a/functions/update_check.sh b/functions/update_check.sh index e722e4e17..f1b9ae78a 100644 --- a/functions/update_check.sh +++ b/functions/update_check.sh @@ -274,7 +274,7 @@ if [ "${currentbuilddigit}" -ne "${availablebuilddigit}" ]; then fn_scriptlog "Current build: ${currentbuild}" fn_scriptlog "Available build: ${availablebuild}" fn_scriptlog "${currentbuild} > ${availablebuild}" - check_ts3status.sh + info_ts3status.sh if [ "${ts3status}" = "No server running (ts3server.pid is missing)" ]; then update_dl.sh command_start.sh