Browse Source

Removed lgsm_version from function files since we now use hashes

pull/553/head
Jared Ballou 10 years ago
parent
commit
f92840582a
  1. 1
      functions/check.sh
  2. 1
      functions/check_config.sh
  3. 1
      functions/check_ip.sh
  4. 1
      functions/check_logs.sh
  5. 1
      functions/check_root.sh
  6. 1
      functions/check_steamcmd.sh
  7. 1
      functions/check_steamuser.sh
  8. 1
      functions/check_systemdir.sh
  9. 1
      functions/check_tmux.sh
  10. 1
      functions/command_backup.sh
  11. 1
      functions/command_console.sh
  12. 1
      functions/command_debug.sh
  13. 1
      functions/command_details.sh
  14. 1
      functions/command_dev_debug.sh
  15. 1
      functions/command_dev_detect_deps.sh
  16. 1
      functions/command_email_test.sh
  17. 1
      functions/command_install.sh
  18. 1
      functions/command_monitor.sh
  19. 1
      functions/command_start.sh
  20. 1
      functions/command_stop.sh
  21. 1
      functions/command_ts3_server_pass.sh
  22. 1
      functions/command_validate.sh
  23. 1
      functions/compress_unreal2_maps.sh
  24. 1
      functions/compress_ut99_maps.sh
  25. 1
      functions/core_functions.sh
  26. 1
      functions/core_getopt.sh
  27. 1
      functions/core_messages.sh
  28. 1
      functions/email.sh
  29. 1
      functions/fix.sh
  30. 1
      functions/fix_arma3.sh
  31. 1
      functions/fix_csgo.sh
  32. 1
      functions/fix_dst.sh
  33. 1
      functions/fix_glibc.sh
  34. 1
      functions/fix_ins.sh
  35. 1
      functions/fix_kf.sh
  36. 1
      functions/fix_ro.sh
  37. 1
      functions/fix_steamcmd.sh
  38. 1
      functions/fix_ut2k4.sh
  39. 1
      functions/fix_ut99.sh
  40. 1
      functions/fn_functions
  41. 1
      functions/fn_getopt
  42. 1
      functions/fn_update_functions
  43. 1
      functions/game_settings.sh
  44. 1
      functions/info_config.sh
  45. 1
      functions/info_distro.sh
  46. 1
      functions/info_glibc.sh
  47. 1
      functions/info_ts3status.sh
  48. 1
      functions/install_complete.sh
  49. 1
      functions/install_config.sh
  50. 1
      functions/install_dl_ut2k4.sh
  51. 1
      functions/install_dl_ut99.sh
  52. 1
      functions/install_gslt.sh
  53. 1
      functions/install_gsquery.sh
  54. 1
      functions/install_header.sh
  55. 1
      functions/install_lgsm.sh
  56. 1
      functions/install_logs.sh
  57. 1
      functions/install_retry.sh
  58. 1
      functions/install_serverdir.sh
  59. 1
      functions/install_serverfiles.sh
  60. 1
      functions/install_sourcemod.sh
  61. 1
      functions/install_steamcmd.sh
  62. 1
      functions/install_ts3.sh
  63. 1
      functions/install_ts3db.sh
  64. 1
      functions/install_ut2k4.sh
  65. 1
      functions/install_ut2k4_key.sh
  66. 1
      functions/install_ut99.sh
  67. 1
      functions/logs.sh
  68. 1
      functions/menu.sh
  69. 1
      functions/monitor_gsquery.sh
  70. 1
      functions/update_check.sh
  71. 1
      functions/update_dl.sh
  72. 1
      functions/update_functions.sh

1
functions/check.sh

@ -2,7 +2,6 @@
# LGSM fn_check function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="060116"
# Description: Overall function for managing checks.
# Runs checks that will either halt on or fix an issue.

1
functions/check_config.sh

@ -2,7 +2,6 @@
# LGSM check_config.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="060116"
# Description: If server config missing warn user.

1
functions/check_ip.sh

@ -2,7 +2,6 @@
# LGSM check_ip.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Automatically identifies the server interface IP.
# If multiple interfaces are detected the user will need to manualy set using ip="0.0.0.0".

1
functions/check_logs.sh

@ -2,7 +2,6 @@
# LGSM check_logs.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Checks that log files exist on server start

1
functions/check_root.sh

@ -2,7 +2,6 @@
# LGSM check_root.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# If you want to run as root (i.e. in Docker, or just because you hate security)
# set the following variable in your environment or config scripts.

1
functions/check_steamcmd.sh

@ -2,7 +2,6 @@
# LGSM check_steamcmd.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="281215"
# Description: Downloads SteamCMD on install and checks if missing before running functions that require SteamCMD

1
functions/check_steamuser.sh

@ -2,7 +2,6 @@
# LGSM check_steamuser.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
if [ "${steamuser}" == "username" ]; then
fn_printfailnl "Steam login not set. Update steamuser."

1
functions/check_systemdir.sh

@ -2,7 +2,6 @@
# LGSM check_systemdir.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
if [ ! -d "${systemdir}" ]; then
fn_printfailnl "Cannot access ${systemdir}: No such directory"

1
functions/check_tmux.sh

@ -2,7 +2,6 @@
# LGSM check_tmux.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Checks if tmux is installed as too many users do not RTFM or know how to use Google.

1
functions/command_backup.sh

@ -2,7 +2,6 @@
# LGSM command_backup.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Creates a .tar.gz file in the backup directory.

1
functions/command_console.sh

@ -2,7 +2,6 @@
# LGSM command_console.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Gives access to the server tmux console.

1
functions/command_debug.sh

@ -2,7 +2,6 @@
# LGSM command_debug.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Runs the server without tmux. Runs direct from the terminal.

1
functions/command_details.sh

@ -2,7 +2,6 @@
# LGSM command_details.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="060116"
# Description: Displays server infomation.

1
functions/command_dev_debug.sh

@ -2,7 +2,6 @@
# LGSM dev_debug.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="281215"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
functions/command_dev_detect_deps.sh

@ -2,7 +2,6 @@
# LGSM fn_dep_detect function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Detects dependencies the server binary requires.

1
functions/command_email_test.sh

@ -2,7 +2,6 @@
# LGSM command_email_test.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Sends a test email notification.

1
functions/command_install.sh

@ -2,7 +2,6 @@
# LGSM fn_install function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
functions/command_monitor.sh

@ -2,7 +2,6 @@
# LGSM command_monitor.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Monitors server by checking for running proccesses
# then passes to monitor_gsquery.sh.

1
functions/command_start.sh

@ -2,7 +2,6 @@
# LGSM command_start.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="070116"
# Description: Starts the server.

1
functions/command_stop.sh

@ -2,7 +2,6 @@
# LGSM command_stop.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Stops the server.

1
functions/command_ts3_server_pass.sh

@ -3,7 +3,6 @@
# Author: Daniel Gibbs
# Contributor : UltimateByte
# Website: http://gameservermanagers.com
lgsm_version="080116"
# Description: Changes TS3 serveradmin password

1
functions/command_validate.sh

@ -2,7 +2,6 @@
# LGSM command_validate.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Runs a server validation.

1
functions/compress_unreal2_maps.sh

@ -2,7 +2,6 @@
# LGSM compress_unreal2_maps.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
functions/compress_ut99_maps.sh

@ -2,7 +2,6 @@
# LGSM compress_ut99_maps.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="301215"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

1
functions/core_functions.sh

@ -2,7 +2,6 @@
# LGSM core_functions.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="060116"
# Description: Defines all functions to allow download and execution of functions using fn_runfunction.
# This function is called first before any other function. Without this file other functions would not load.

1
functions/core_getopt.sh

@ -2,7 +2,6 @@
# LGSM core_getopt.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="300116"
# Description: getopt arguments.

1
functions/core_messages.sh

@ -2,7 +2,6 @@
# LGSM fn_messages function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Defines on-screen messages such as [ OK ] and how script logs look.

1
functions/email.sh

@ -2,7 +2,6 @@
# LGSM email.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Sends email notification if monitor picks up a failure.

1
functions/fix.sh

@ -2,7 +2,6 @@
# LGSM fix.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="260116"
# Description: Overall function for managing fixes.
# Runs functions that will fix an issue.

1
functions/fix_arma3.sh

@ -2,7 +2,6 @@
# LGSM fix_arma3.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="301215"
# Fixes line 63: 20150 Segmentation fault (core dumped) #488

1
functions/fix_csgo.sh

@ -2,7 +2,6 @@
# LGSM fix_csgo.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="301215"
# Description: Resolves various issues with csgo.

1
functions/fix_dst.sh

@ -2,7 +2,6 @@
# LGSM fix_dst.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="020116"
# Fixes line 63: 20150 Segmentation fault (core dumped) #488

1
functions/fix_glibc.sh

@ -2,7 +2,6 @@
# LGSM fix_glibc.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="020116"
fn_glibcfixmsg(){
echo ""

1
functions/fix_ins.sh

@ -2,7 +2,6 @@
# LGSM fix_ins.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="291215"
# Description: Resolves various issues with Insurgency.

1
functions/fix_kf.sh

@ -2,7 +2,6 @@
# LGSM fix_kf.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo "Applying WebAdmin ROOst.css fix."
echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"

1
functions/fix_ro.sh

@ -2,7 +2,6 @@
# LGSM fix_ro.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo "Applying WebAdmin ROOst.css fix."
echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"

1
functions/fix_steamcmd.sh

@ -2,7 +2,6 @@
# LGSM fix_steamcmd.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="010116"
# Description: fixes various issues related to steamCMD.

1
functions/fix_ut2k4.sh

@ -2,7 +2,6 @@
# LGSM fix_ut2k4.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo "applying WebAdmin ut2003.css fix."
echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"

1
functions/fix_ut99.sh

@ -2,7 +2,6 @@
# LGSM fix_ut99.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo "enabling UdpServerUplink."
{

1
functions/fn_functions

@ -2,7 +2,6 @@
# LGSM core_functions.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Redirect to new core_functions.sh

1
functions/fn_getopt

@ -2,7 +2,6 @@
# LGSM core_getopt.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Redirect to new core_getopt.sh

1
functions/fn_update_functions

@ -2,7 +2,6 @@
# LGSM update_functions.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: LEGACY FUNCTION Deletes the functions dir to allow re-downloading of functions from GitHub.

1
functions/game_settings.sh

@ -2,7 +2,6 @@
# LGSM game_settings.sh function
# Author: Jared Ballou
# Website: http://gameservermanagers.com
lgsm_version="180116"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
local modulename="Settings"

1
functions/info_config.sh

@ -2,7 +2,6 @@
# LGSM info_config.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="060116"
# Description: Gets specific details from config files.

1
functions/info_distro.sh

@ -2,7 +2,6 @@
# LGSM info_distro.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Variables providing useful info on the Operating System such as disk and performace info.
# Used for command_details.sh, command_debug.sh and email.sh.

1
functions/info_glibc.sh

@ -2,7 +2,6 @@
# LGSM info_glibc.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: stores details on servers Glibc requirements.

1
functions/info_ts3status.sh

@ -2,7 +2,6 @@
# LGSM info_ts3status.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Checks the status of Teamspeak 3.

1
functions/install_complete.sh

@ -2,7 +2,6 @@
# LGSM install_complete.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
if [ "${gamename}" == "Don't Starve Together" ]; then
echo ""

1
functions/install_config.sh

@ -2,7 +2,6 @@
# LGSM install_config.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="100116"
fn_defaultconfig(){
echo "creating ${servercfg} config file."

1
functions/install_dl_ut2k4.sh

@ -2,7 +2,6 @@
# LGSM install_dl_ut2k4.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Downloading Server Files"

1
functions/install_dl_ut99.sh

@ -2,7 +2,6 @@
# LGSM install_dl_ut99.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Downloading Server Files"

1
functions/install_gslt.sh

@ -2,7 +2,6 @@
# LGSM install_gslt.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Configures GSLT.

1
functions/install_gsquery.sh

@ -2,7 +2,6 @@
# LGSM install_gsquery.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
fn_dlgsquery(){
gsquery_path="${lgsmdir}/gsquery.py"

1
functions/install_header.sh

@ -2,7 +2,6 @@
# LGSM install_header.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
clear
echo "================================="

1
functions/install_lgsm.sh

@ -2,7 +2,6 @@
# LGSM install_lgsm function
# Author: Jared Ballou
# Website: http://gameservermanagers.com
lgsm_version="300116"
# Description: Display menu of available games and install the one selected

1
functions/install_logs.sh

@ -2,7 +2,6 @@
# LGSM install_logs.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
if [ "${checklogs}" != "1" ]; then
echo ""

1
functions/install_retry.sh

@ -2,7 +2,6 @@
# LGSM install_retry.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
while true; do
read -e -i "y" -p "Retry install? [Y/n]" yn

1
functions/install_serverdir.sh

@ -2,7 +2,6 @@
# LGSM install_serverdir.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Server Directory"

1
functions/install_serverfiles.sh

@ -2,7 +2,6 @@
# LGSM finstall_serverfiles.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
fn_steaminstallcommand(){
check.sh

1
functions/install_sourcemod.sh

@ -5,7 +5,6 @@
# This downloads and installs the latest stable versions of MetaMod and SourceMod
lgsm_version="200116"
# MetaMod

1
functions/install_steamcmd.sh

@ -2,7 +2,6 @@
# LGSM install_steamcmd.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Downloads SteamCMD on install.

1
functions/install_ts3.sh

@ -2,7 +2,6 @@
# LGSM install_ts3.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
info_distro.sh
# Gets the teamspeak server architecture

1
functions/install_ts3db.sh

@ -3,7 +3,6 @@
# Author: Daniel Gibbs
# Contributor: PhilPhonic
# Website: http://gameservermanagers.com
lgsm_version="271215"
fn_install_ts3db_mariadb(){
echo ""

1
functions/install_ut2k4.sh

@ -2,7 +2,6 @@
# LGSM install_ut2k4.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Installing ${gamename} Server"

1
functions/install_ut2k4_key.sh

@ -2,7 +2,6 @@
# LGSM install_ut2k4_key.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Enter ${gamename} CD Key"

1
functions/install_ut99.sh

@ -2,7 +2,6 @@
# LGSM install_ut99.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
echo ""
echo "Installing ${gamename} Server"

1
functions/logs.sh

@ -2,7 +2,6 @@
# LGSM logs.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Acts as a log rotater, removing old logs.

1
functions/menu.sh

@ -2,7 +2,6 @@
# LGSM fn_messages function
# Author: Jared Ballou
# Website: http://gameservermanagers.com
lgsm_version="200116"
# Description: Display menus and return selection

1
functions/monitor_gsquery.sh

@ -2,7 +2,6 @@
# LGSM monitor_gsquery.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: uses gsquery.py to directly query the server.
# Detects if the server has frozen.

1
functions/update_check.sh

@ -2,7 +2,6 @@
# LGSM update_check.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Checks if a server update is available.

1
functions/update_dl.sh

@ -2,7 +2,6 @@
# LGSM update_dl.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Runs a server update.

1
functions/update_functions.sh

@ -2,7 +2,6 @@
# LGSM update_functions.sh function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="271215"
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.

Loading…
Cancel
Save