Browse Source

renamed check_ts3status.sh to info_ts3status.sh

pull/584/head
Daniel Gibbs 9 years ago
parent
commit
fdce54ff05
  1. 2
      functions/check.sh
  2. 2
      functions/command_details.sh
  3. 2
      functions/command_monitor.sh
  4. 4
      functions/command_start.sh
  5. 2
      functions/command_stop.sh
  6. 2
      functions/core_functions.sh
  7. 2
      functions/info_ts3status.sh
  8. 2
      functions/update_check.sh

2
functions/check.sh

@ -45,4 +45,4 @@ if [ $? != 0 ]; then
check_tmux.sh
fi
#check_ts3status.sh # may need to move out of checks
#info_ts3status.sh # may need to move out of checks

2
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

2
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"

4
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}"

2
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"

2
functions/core_functions.sh

@ -131,7 +131,7 @@ functionfile="${FUNCNAME}"
fn_runfunction
}
check_ts3status.sh(){
info_ts3status.sh(){
functionfile="${FUNCNAME}"
fn_runfunction
}

2
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"

2
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

Loading…
Cancel
Save