Browse Source

removed local commandaction="Checking"

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
6a3193194d
  1. 1
      lgsm/functions/check.sh
  2. 1
      lgsm/functions/check_config.sh
  3. 1
      lgsm/functions/check_deps.sh
  4. 1
      lgsm/functions/check_glibc.sh
  5. 1
      lgsm/functions/check_ip.sh
  6. 1
      lgsm/functions/check_logs.sh
  7. 1
      lgsm/functions/check_permissions.sh
  8. 1
      lgsm/functions/check_root.sh
  9. 1
      lgsm/functions/check_status.sh
  10. 1
      lgsm/functions/check_steamcmd.sh
  11. 1
      lgsm/functions/check_system_dir.sh
  12. 1
      lgsm/functions/check_tmux.sh
  13. 6
      lgsm/functions/command_monitor.sh
  14. 1
      lgsm/functions/command_test_alert.sh

1
lgsm/functions/check.sh

@ -7,7 +7,6 @@
# Runs checks that will either halt on or fix an issue.
local commandnane="CHECK"
local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
lgsm/functions/check_config.sh

@ -5,7 +5,6 @@
# Description: If server config missing warn user.
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ ! -e "${servercfgfullpath}" ]; then

1
lgsm/functions/check_deps.sh

@ -5,7 +5,6 @@
# Description: Checks that the requires dependencies are installed for LGSM.
local commandnane="CHECK"
local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
lgsm/functions/check_glibc.sh

@ -5,7 +5,6 @@
# Description: Checks if server has correct glibc or has a fix available.
local commandnane="CHECK"
local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
lgsm/functions/check_ip.sh

@ -6,7 +6,6 @@
# If multiple interfaces are detected the user will need to manualy set using ip="0.0.0.0".
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ "${gamename}" != "Teamspeak 3" ]; then

1
lgsm/functions/check_logs.sh

@ -5,7 +5,6 @@
# Description: Checks that log files exist on server start
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
# Create dir's for the script and console logs

1
lgsm/functions/check_permissions.sh

@ -6,7 +6,6 @@
# Description: Checks script, files and folders ownership and permissions.
local commandnane="CHECK"
local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
lgsm/functions/check_root.sh

@ -4,7 +4,6 @@
# Website: https://gameservermanagers.com
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ $(whoami) = "root" ]; then

1
lgsm/functions/check_status.sh

@ -5,7 +5,6 @@
# Description: Checks the proccess status of the server. Either online or offline.
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ "${gamename}" == "Teamspeak 3" ]; then

1
lgsm/functions/check_steamcmd.sh

@ -5,7 +5,6 @@
# Description: Checks SteamCMD is installed and correct.
local commandnane="CHECK"
local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
lgsm/functions/check_system_dir.sh

@ -4,7 +4,6 @@
# Website: https://gameservermanagers.com
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ ! -d "${systemdir}" ]; then

1
lgsm/functions/check_tmux.sh

@ -5,7 +5,6 @@
# Description: Checks if tmux is installed as too many users do not RTFM or know how to use Google.
local commandnane="CHECK"
local commandaction="Checking"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ "$(command -v tmux)" ]||[ "$(which tmux >/dev/null 2>&1)" ]||[ -f "/usr/bin/tmux" ]||[ -f "/bin/tmux" ]; then

6
lgsm/functions/command_monitor.sh

@ -80,11 +80,13 @@ fn_monitor_tmux(){
fi
}
fn_print_dots "${servername}"
sleep 1
check.sh
logs.sh
info_config.sh
fn_print_dots "${servername}"
sleep 1
fn_monitor_check_lockfile
fn_monitor_check_update
fn_monitor_msg_checking

1
lgsm/functions/command_test_alert.sh

@ -9,6 +9,7 @@ local commandaction="Alert"
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_print_dots "${servername}"
sleep 1
check.sh
info_config.sh
alert="test"

Loading…
Cancel
Save