Browse Source

header standardise

pull/3198/head
Daniel Gibbs 5 years ago
parent
commit
af06c38446
  1. 2
      lgsm/functions/alert.sh
  2. 2
      lgsm/functions/alert_discord.sh
  3. 2
      lgsm/functions/alert_email.sh
  4. 2
      lgsm/functions/alert_ifttt.sh
  5. 2
      lgsm/functions/alert_mailgun.sh
  6. 2
      lgsm/functions/alert_pushbullet.sh
  7. 2
      lgsm/functions/alert_pushover.sh
  8. 2
      lgsm/functions/alert_rocketchat.sh
  9. 2
      lgsm/functions/alert_slack.sh
  10. 2
      lgsm/functions/alert_telegram.sh
  11. 2
      lgsm/functions/check.sh
  12. 2
      lgsm/functions/check_config.sh
  13. 2
      lgsm/functions/check_deps.sh
  14. 2
      lgsm/functions/check_executable.sh
  15. 2
      lgsm/functions/check_glibc.sh
  16. 2
      lgsm/functions/check_ip.sh
  17. 2
      lgsm/functions/check_last_update.sh
  18. 2
      lgsm/functions/check_logs.sh
  19. 2
      lgsm/functions/check_permissions.sh
  20. 2
      lgsm/functions/check_root.sh
  21. 2
      lgsm/functions/check_status.sh
  22. 2
      lgsm/functions/check_steamcmd.sh
  23. 2
      lgsm/functions/check_system_dir.sh
  24. 4
      lgsm/functions/check_system_requirements.sh
  25. 4
      lgsm/functions/check_tmuxception.sh
  26. 2
      lgsm/functions/check_version.sh
  27. 2
      lgsm/functions/command_backup.sh
  28. 2
      lgsm/functions/command_check_update.sh
  29. 2
      lgsm/functions/command_console.sh
  30. 2
      lgsm/functions/command_debug.sh
  31. 2
      lgsm/functions/command_details.sh
  32. 2
      lgsm/functions/command_dev_clear_functions.sh
  33. 2
      lgsm/functions/command_dev_debug.sh
  34. 2
      lgsm/functions/command_dev_detect_deps.sh
  35. 2
      lgsm/functions/command_dev_detect_glibc.sh
  36. 2
      lgsm/functions/command_dev_detect_ldd.sh
  37. 2
      lgsm/functions/command_dev_query_raw.sh
  38. 2
      lgsm/functions/command_donate.sh
  39. 2
      lgsm/functions/command_fastdl.sh
  40. 2
      lgsm/functions/command_install.sh
  41. 2
      lgsm/functions/command_install_resources_mta.sh
  42. 2
      lgsm/functions/command_mods_install.sh
  43. 2
      lgsm/functions/command_mods_remove.sh
  44. 2
      lgsm/functions/command_mods_update.sh
  45. 2
      lgsm/functions/command_monitor.sh
  46. 4
      lgsm/functions/command_postdetails.sh
  47. 2
      lgsm/functions/command_restart.sh
  48. 2
      lgsm/functions/command_skeleton.sh
  49. 2
      lgsm/functions/command_start.sh
  50. 2
      lgsm/functions/command_stop.sh
  51. 2
      lgsm/functions/command_test_alert.sh
  52. 2
      lgsm/functions/command_ts3_server_pass.sh
  53. 2
      lgsm/functions/command_update.sh
  54. 2
      lgsm/functions/command_update_linuxgsm.sh
  55. 2
      lgsm/functions/command_validate.sh
  56. 4
      lgsm/functions/command_wipe.sh
  57. 2
      lgsm/functions/compress_unreal2_maps.sh
  58. 2
      lgsm/functions/compress_ut99_maps.sh
  59. 2
      lgsm/functions/core_dl.sh
  60. 2
      lgsm/functions/core_exit.sh
  61. 2
      lgsm/functions/core_functions.sh
  62. 2
      lgsm/functions/core_getopt.sh
  63. 3
      lgsm/functions/core_github.sh
  64. 2
      lgsm/functions/core_legacy.sh
  65. 2
      lgsm/functions/core_logs.sh
  66. 2
      lgsm/functions/core_messages.sh
  67. 2
      lgsm/functions/core_steamcmd.sh
  68. 2
      lgsm/functions/core_trap.sh
  69. 2
      lgsm/functions/fix.sh
  70. 2
      lgsm/functions/fix_ark.sh
  71. 2
      lgsm/functions/fix_arma3.sh
  72. 2
      lgsm/functions/fix_av.sh
  73. 2
      lgsm/functions/fix_bo.sh
  74. 2
      lgsm/functions/fix_cmw.sh
  75. 2
      lgsm/functions/fix_csgo.sh
  76. 2
      lgsm/functions/fix_dst.sh
  77. 2
      lgsm/functions/fix_hw.sh
  78. 2
      lgsm/functions/fix_ins.sh
  79. 2
      lgsm/functions/fix_kf.sh
  80. 2
      lgsm/functions/fix_kf2.sh
  81. 2
      lgsm/functions/fix_mcb.sh
  82. 2
      lgsm/functions/fix_mta.sh
  83. 2
      lgsm/functions/fix_nmrih.sh
  84. 2
      lgsm/functions/fix_onset.sh
  85. 2
      lgsm/functions/fix_ro.sh
  86. 2
      lgsm/functions/fix_rust.sh
  87. 2
      lgsm/functions/fix_rw.sh
  88. 2
      lgsm/functions/fix_samp.sh
  89. 2
      lgsm/functions/fix_sdtd.sh
  90. 2
      lgsm/functions/fix_sfc.sh
  91. 2
      lgsm/functions/fix_sof2.sh
  92. 2
      lgsm/functions/fix_squad.sh
  93. 2
      lgsm/functions/fix_st.sh
  94. 2
      lgsm/functions/fix_steamcmd.sh
  95. 2
      lgsm/functions/fix_terraria.sh
  96. 2
      lgsm/functions/fix_tf2.sh
  97. 2
      lgsm/functions/fix_ts3.sh
  98. 2
      lgsm/functions/fix_unt.sh
  99. 2
      lgsm/functions/fix_ut.sh
  100. 2
      lgsm/functions/fix_ut2k4.sh

2
lgsm/functions/alert.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Overall function for managing alerts.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_discord.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_discord.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Discord alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_email.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_email.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends email alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_ifttt.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_ifttt.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends IFTTT alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_mailgun.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_mailgun.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Mailgun Email alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_pushbullet.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_pushbullet.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Pushbullet Messenger alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_pushover.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_pushover.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Pushover alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_rocketchat.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_rocketchat.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Rocketchat alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_slack.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_slack.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Slack alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/alert_telegram.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM alert_telegram.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Telegram Messenger alert.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Overall function for managing checks.
# Runs checks that will either halt on or fix an issue.

2
lgsm/functions/check_config.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_config.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the server config is missing and warns the user if needed.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_deps.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_deps.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if required dependencies are installed for LinuxGSM.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_executable.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_executable.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if server executable exists.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_glibc.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_glibc.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the server has the correct Glibc version.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_ip.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_ip.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Automatically identifies the server interface IP.
# If multiple interfaces are detected the user will need to manually set using ip="0.0.0.0".

2
lgsm/functions/check_last_update.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_last_update.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks lock file to see when last update happened.
# Will reboot server if instance not rebooted since update.

2
lgsm/functions/check_logs.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_logs.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if log files exist.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_permissions.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_permissions.sh
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks ownership & permissions of scripts, files and directories.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_root.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_root.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the user tried to run the script as root.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_status.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_status.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks the process status of the server. Either online or offline.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_steamcmd.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_steamcmd.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if SteamCMD is installed correctly.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_system_dir.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM check_system_dir.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if systemdir/serverfiles is accessible.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

4
lgsm/functions/check_system_requirements.sh

@ -1,9 +1,9 @@
#!/bin/bash
# LinuxGSM check_system_requirements.sh
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Description: Checks RAM requirements
# Website: https://linuxgsm.com
# Description: Checks RAM requirements.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

4
lgsm/functions/check_tmuxception.sh

@ -1,9 +1,9 @@
#!/bin/bash
# LinuxGSM check_config.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Description: Checks if run from tmux or screen
# Website: https://linuxgsm.com
# Description: Checks if run from tmux or screen.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/check_version.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_version.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Will run update-lgsm if gameserver.sh and modules version does not match
# this will allow gameserver.sh to update - useful for multi instance servers.

2
lgsm/functions/command_backup.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_backup.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Creates a .tar.gz file in the backup directory.
commandname="BACKUP"

2
lgsm/functions/command_check_update.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_check_update.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles updating of servers.
commandname="CHECK-UPDATE"

2
lgsm/functions/command_console.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_console.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Gives access to the server tmux console.
commandname="CONSOLE"

2
lgsm/functions/command_debug.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_debug.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Runs the server without tmux and directly from the terminal.
commandname="DEBUG"

2
lgsm/functions/command_details.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_details.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Displays server information.
commandname="DETAILS"

2
lgsm/functions/command_dev_clear_functions.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_clear_functions.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Deletes the contents of the functions dir.
commandname="DEV-CLEAR-MODULES"

2
lgsm/functions/command_dev_debug.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_debug.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Dev only: Enables debugging log to be saved to dev-debug.log.
commandname="DEV-DEBUG"

2
lgsm/functions/command_dev_detect_deps.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_detect_deps.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Detects dependencies the server binary requires.
commandname="DEV-DETECT-DEPS"

2
lgsm/functions/command_dev_detect_glibc.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_detect_glibc.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Automatically detects the version of GLIBC that is required.
# Can check a file or directory recursively.

2
lgsm/functions/command_dev_detect_ldd.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_detect_ldd.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Automatically detects required deps using ldd.
# Can check a file or directory recursively.

2
lgsm/functions/command_dev_query_raw.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_dev_query_raw.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Raw gamedig output of the server.
commandname="DEV-QUERY-RAW"

2
lgsm/functions/command_donate.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_donate.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Shows ways to donate.
commandname="DONATE"

2
lgsm/functions/command_fastdl.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_fastdl.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Creates a FastDL directory.
commandname="FASTDL"

2
lgsm/functions/command_install.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_install.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Overall function for the installer.
commandname="INSTALL"

2
lgsm/functions/command_install_resources_mta.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_install_resources_mta.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the default resources for Multi Theft Auto.
commandname="DEFAULT-RESOURCES"

2
lgsm/functions/command_mods_install.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_mods_install.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: List and installs available mods along with mods_list.sh and mods_core.sh.
commandname="MODS-INSTALL"

2
lgsm/functions/command_mods_remove.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_mods_uninstall.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Uninstall mods along with mods_list.sh and mods_core.sh.
commandname="MODS-REMOVE"

2
lgsm/functions/command_mods_update.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_mods_update.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Updates installed mods along with mods_list.sh and mods_core.sh.
commandname="MODS-UPDATE"

2
lgsm/functions/command_monitor.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_monitor.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Monitors server by checking for running processes
# then passes to gamedig and gsquery.

4
lgsm/functions/command_postdetails.sh

@ -1,9 +1,9 @@
#!/bin/bash
# LinuxGSM command_postdetails.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Description: Strips sensitive information out of Details output
# Website: https://linuxgsm.com
# Description: Strips sensitive information out of Details output.
commandname="POST-DETAILS"
commandaction="Posting details"

2
lgsm/functions/command_restart.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_restart.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Restarts the server.
commandname="MODS-INSTALL"

2
lgsm/functions/command_skeleton.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_skeleton.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Creates an copy of a game servers directorys.

2
lgsm/functions/command_start.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_start.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Starts the server.
commandname="START"

2
lgsm/functions/command_stop.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_stop.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Stops the server.
commandname="STOP"

2
lgsm/functions/command_test_alert.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_test_alert.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends a test alert.
commandname="TEST-ALERT"

2
lgsm/functions/command_ts3_server_pass.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_ts3_server_pass.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Changes TS3 serveradmin password.
commandname="CHANGE-PASSWORD"

2
lgsm/functions/command_update.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_update.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles updating of servers.
commandname="UPDATE"

2
lgsm/functions/command_update_linuxgsm.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_update_linuxgsm.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
commandname="UPDATE-LGSM"

2
lgsm/functions/command_validate.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM command_validate.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Runs a server validation.
commandname="VALIDATE"

4
lgsm/functions/command_wipe.sh

@ -1,9 +1,9 @@
#!/bin/bash
# LinuxGSM command_backup.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Description: Wipes server data, useful after updates for some games like Rust
# Website: https://linuxgsm.com
# Description: Wipes server data, useful after updates for some games like Rust.
commandname="WIPE"
commandaction="Wiping"

2
lgsm/functions/compress_unreal2_maps.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM compress_unreal2_maps.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Compresses unreal maps.
commandname="MAP-COMPRESSOR"

2
lgsm/functions/compress_ut99_maps.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM compress_ut99_maps.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Compresses unreal maps.
commandname="MAP-COMPRESSOR"

2
lgsm/functions/core_dl.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_dl.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Deals with all downloads for LinuxGSM.
# remote_fileurl: The URL of the file: http://example.com/dl/File.tar.bz2

2
lgsm/functions/core_exit.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_exit.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/core_functions.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_functions.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function.
# This function is called first before any other function. Without this file other functions will not load.

2
lgsm/functions/core_getopt.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_getopt.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: getopt arguments.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

3
lgsm/functions/core_github.sh

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_github.sh function
# Author: Christian Birk
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: core function file for updates via github

2
lgsm/functions/core_legacy.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_legacy.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Code for backwards compatability with older versions of LinuxGSM.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/core_logs.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_logs.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Acts as a log rotator, removing old logs.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/core_messages.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_messages.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Defines on-screen messages such as [ OK ] and how script logs look.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/core_steamcmd.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_steamcmd.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Core functions for SteamCMD
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/core_trap.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM core_trap.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles CTRL-C trap to give an exit code.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Overall function for managing fixes.
# Runs functions that will fix an issue.

2
lgsm/functions/fix_ark.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ark.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with ARK: Survival Evolved.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_arma3.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_arma3.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with ARMA3.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_av.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_av.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Avorion
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_bo.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_hw.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Ballistic Overkill.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_cmw.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_cmw.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves the issue of the not starting server on linux
if [ ! -f "${executabledir}/steam_appid.txt" ]; then

2
lgsm/functions/fix_csgo.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_csgo.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with CS:GO.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_dst.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_dst.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Don't Starve Together.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_hw.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_hw.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Hurtworld.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_ins.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ins.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Insurgency.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_kf.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_kf.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_kf2.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_kf2.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor 2.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_mcb.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_mcb.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves possible startup issue with Minecraft Bedrock.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_mta.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_mta.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the libmysqlclient for database functions on the server.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_nmrih.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_nmrih.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Create symlinks for renamed No More Room In Hell serverfiles.
# Solution from Steam Community post: https://steamcommunity.com/app/224260/discussions/2/1732089092441769414/

2
lgsm/functions/fix_onset.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_onset.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Onset.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_ro.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ro.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Red Orchestra.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_rust.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Rust.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_rw.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_rw.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Rising World.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_samp.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_sfc.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves issue that the default rcon password is not changed
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_sdtd.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_sdtd.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with 7 Days to Die.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_sfc.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_sfc.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Source Forts Classic.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_sof2.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Soldier of Fortune 2.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_squad.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_squad.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Squad.
# As the server base dir changed for the game, we need to migrate the default config from the old to the new location

2
lgsm/functions/fix_st.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Stationeers.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_steamcmd.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_steamcmd.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues related to SteamCMD.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_terraria.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_terraria.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Terraria.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_tf2.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_tf2.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Team Fortress 2.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_ts3.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ts3.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Teamspeak 3.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_unt.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_ut.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ut.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

2
lgsm/functions/fix_ut2k4.sh

@ -1,8 +1,8 @@
#!/bin/bash
# LinuxGSM fix_ut2k4.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament 2004.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save