fix: standardise and refactor comment headers (#3198)

This commit is contained in:
Daniel Gibbs 2021-01-24 15:10:15 +00:00
parent a194f3c8de
commit 852feec520
141 changed files with 323 additions and 201 deletions

View File

@ -1,16 +1,16 @@
# Linux Game Server Manager - Functions
# LinuxGSM - Modules
These functions are universal functions that work in all scripts.
These modules are scripts that are called upon by the primary script linuxgsm.sh
## Function Names
Functions have been named to give an idea of what the function does.
## Module Names
Modules have been named to give an idea of what the function does.
* core: Essential functions that will always run first.
* core: Essential modules that will always run first.
* command: Primary command function.
* check: Runs checks that will either halt on or fix an issue.
* dev: development functions.
* dev: development modules.
* fix: Applies a game server specific fix.
* info: retrieves information from a source such as config file or the OS.
* install: Functions related to the installer.
* monitor: Functions related to monitor.
* update: Functions that update the game server.
* install: modules related to the installer.
* monitor: modules related to monitor.
* update: modules that update the game server.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert.sh function
# LinuxGSM alert.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Overall function for managing alerts.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM alert_discord.sh function
# LinuxGSM alert_discord.sh module
# Author: Daniel Gibbs
# Contributor: faflfama, diamondburned
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Discord alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_email.sh function
# LinuxGSM alert_email.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends email alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_ifttt.sh function
# LinuxGSM alert_ifttt.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends IFTTT alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_mailgun.sh function
# LinuxGSM alert_mailgun.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Mailgun Email alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_pushbullet.sh function
# LinuxGSM alert_pushbullet.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Pushbullet Messenger alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_pushover.sh function
# LinuxGSM alert_pushover.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Pushover alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_rocketchat.sh function
# Author: Alasdair Haig
# LinuxGSM alert_rocketchat.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Rocketchat alert.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM alert_slack.sh function
# Author: Kenneth Lindeof
# LinuxGSM alert_slack.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends Slack alert.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check.sh function
# LinuxGSM check.sh module
# Author: Daniel Gibbs
# 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.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_config.sh function
# LinuxGSM check_config.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the server config is missing and warns the user if needed.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_deps.sh function
# LinuxGSM check_deps.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if required dependencies are installed for LinuxGSM.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_executable.sh function
# LinuxGSM check_executable.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if server executable exists.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_glibc.sh function
# LinuxGSM check_glibc.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the server has the correct Glibc version.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_ip.sh function
# LinuxGSM check_ip.sh module
# Author: Daniel Gibbs
# 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".

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_last_update.sh function
# LinuxGSM check_last_update.sh module
# Author: Daniel Gibbs
# 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.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_logs.sh function
# LinuxGSM check_logs.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if log files exist.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM check_permissions.sh
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks ownership & permissions of scripts, files and directories.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_root.sh function
# LinuxGSM check_root.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if the user tried to run the script as root.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM check_status.sh function
# LinuxGSM check_status.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks the process status of the server. Either online or offline.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_steamcmd.sh function
# LinuxGSM check_steamcmd.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if SteamCMD is installed correctly.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM check_system_dir.sh function
# LinuxGSM check_system_dir.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Checks if systemdir/serverfiles is accessible.

View File

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

View File

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

View File

@ -1,10 +1,13 @@
#!/bin/bash
# LinuxGSM command_version.sh function
# LinuxGSM command_version.sh module
# Author: Daniel Gibbs
# 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.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
if [ -n "${modulesversion}" ]&&[ -n "${version}" ]&&[ "${version}" != "${modulesversion}" ]; then
exitbypass=1
echo -e ""

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_check_update.sh function
# LinuxGSM command_check_update.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles updating of servers.

View File

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

View File

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

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_details.sh function
# LinuxGSM command_details.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Displays server information.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# command_dev_clear_functions.sh function
# LinuxGSM command_dev_clear_functions.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Deletes the contents of the functions dir.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_dev_detect_deps.sh function
# LinuxGSM command_dev_detect_deps.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Detects dependencies the server binary requires.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_dev_detect_glibc.sh function
# LinuxGSM command_dev_detect_glibc.sh module
# Author: Daniel Gibbs
# 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.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# command_dev_query_raw.sh function
# LinuxGSM command_dev_query_raw.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Raw gamedig output of the server.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_donate.sh function
# LinuxGSM command_donate.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Shows ways to donate.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_fastdl.sh function
# LinuxGSM command_fastdl.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Creates a FastDL directory.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_install_resources_mta.sh function
# LinuxGSM command_install_resources_mta.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the default resources for Multi Theft Auto.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_mods_install.sh function
# LinuxGSM command_mods_install.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: List and installs available mods along with mods_list.sh and mods_core.sh.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_mods_uninstall.sh function
# LinuxGSM command_mods_uninstall.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Uninstall mods along with mods_list.sh and mods_core.sh.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_mods_update.sh function
# LinuxGSM command_mods_update.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Updates installed mods along with mods_list.sh and mods_core.sh.

View File

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

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_restart.sh function
# LinuxGSM command_restart.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Restarts the server.

View File

@ -1,9 +1,11 @@
#!/bin/bash
# LinuxGSM command_skeleton.sh function
# LinuxGSM command_skeleton.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Creates an copy of a game servers directorys.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_print_dots "Creating skeleton directory"
check.sh

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_start.sh function
# LinuxGSM command_start.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Starts the server.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_stop.sh function
# LinuxGSM command_stop.sh module
# Author: Daniel Gibbs
# Contributors: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Stops the server.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_test_alert.sh function
# LinuxGSM command_test_alert.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Sends a test alert.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM command_ts3_server_pass.sh function
# LinuxGSM command_ts3_server_pass.sh module
# Author: Daniel Gibbs
# Contributor : UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Changes TS3 serveradmin password.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_update.sh function
# LinuxGSM command_update.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles updating of servers.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM command_validate.sh function
# LinuxGSM command_validate.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Runs a server validation.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM compress_unreal2_maps.sh function
# LinuxGSM compress_unreal2_maps.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Compresses unreal maps.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM compress_ut99_maps.sh function
# LinuxGSM compress_ut99_maps.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Compresses unreal maps.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM core_dl.sh function
# LinuxGSM core_dl.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Deals with all downloads for LinuxGSM.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_exit.sh function
# LinuxGSM core_exit.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_functions.sh function
# LinuxGSM core_functions.sh module
# Author: Daniel Gibbs
# 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.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_getopt.sh function
# LinuxGSM core_getopt.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: getopt arguments.

View File

@ -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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_legacy.sh function
# LinuxGSM core_legacy.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Code for backwards compatability with older versions of LinuxGSM.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM core_logs.sh function
# LinuxGSM core_logs.sh module
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Acts as a log rotator, removing old logs.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM core_messages.sh function
# LinuxGSM core_messages.sh module
# Author: Daniel Gibbs
# Contributor: s-eam
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Defines on-screen messages such as [ OK ] and how script logs look.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_steamcmd.sh function
# LinuxGSM core_steamcmd.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Core functions for SteamCMD

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM core_trap.sh function
# LinuxGSM core_trap.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Handles CTRL-C trap to give an exit code.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_ark.sh function
# LinuxGSM fix_ark.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with ARK: Survival Evolved.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_arma3.sh function
# LinuxGSM fix_arma3.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with ARMA3.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_av.sh function
# Author: Christian Birk
# LinuxGSM fix_av.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Avorion

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_hw.sh function
# LinuxGSM fix_hw.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Ballistic Overkill.

View File

@ -1,9 +1,12 @@
#!/bin/bash
# LinuxGSM fix_cmw.sh function
# Author: Christian Birk
# LinuxGSM fix_cmw.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves the issue of the not starting server on linux
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
if [ ! -f "${executabledir}/steam_appid.txt" ]; then
fixname="steam_appid.txt"
fn_fix_msg_start

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_csgo.sh function
# LinuxGSM fix_csgo.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with CS:GO.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_dst.sh function
# LinuxGSM fix_dst.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Don't Starve Together.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_hw.sh function
# LinuxGSM fix_hw.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Hurtworld.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_ins.sh function
# LinuxGSM fix_ins.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Insurgency.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_kf.sh function
# LinuxGSM fix_kf.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_kf2.sh function
# LinuxGSM fix_kf2.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor 2.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_mcb.sh function
# LinuxGSM fix_mcb.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves possible startup issue with Minecraft Bedrock.

View File

@ -1,7 +1,7 @@
#!/bin/bash
# LinuxGSM fix_mta.sh function
# LinuxGSM fix_mta.sh module
# Author: Daniel Gibbs
# Contributor: ChaosMTA
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the libmysqlclient for database functions on the server.

View File

@ -1,6 +1,8 @@
#!/bin/bash
# LinuxGSM fix_nmrih.sh function
# Author: Denperidge
# LinuxGSM fix_nmrih.sh module
# Author: Daniel Gibbs
# 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/

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_onset.sh function
# Author: Frédéric C.
# LinuxGSM fix_onset.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Onset.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_ro.sh function
# LinuxGSM fix_ro.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Red Orchestra.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_rust.sh function
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Rust.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_rw.sh function
# LinuxGSM fix_rw.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Rising World.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_sfc.sh function
# Author: Christian Birk
# LinuxGSM fix_sfc.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves issue that the default rcon password is not changed

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_sdtd.sh function
# LinuxGSM fix_sdtd.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with 7 Days to Die.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_sfc.sh function
# LinuxGSM fix_sfc.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Source Forts Classic.

View File

@ -1,9 +1,11 @@
#!/bin/bash
# LinuxGSM fix_rust.sh function
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# 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]}")")"
# Fixes: error while loading shared libraries: libcxa.so.1
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

View File

@ -1,9 +1,12 @@
#!/bin/bash
# LinuxGSM fix_squad.sh function
# Author: Christian Birk
# LinuxGSM fix_squad.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Squad.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
# As the server base dir changed for the game, we need to migrate the default config from the old to the new location
oldservercfg="${serverfiles}/Squad/ServerConfig/${servercfg}"
if [ -f "${oldservercfg}" ]&&[ -f "${servercfgfullpath}" ]; then

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_rust.sh function
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Stationeers.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_steamcmd.sh function
# LinuxGSM fix_steamcmd.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues related to SteamCMD.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_terraria.sh function
# LinuxGSM fix_terraria.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Terraria.

View File

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

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_ts3.sh function
# LinuxGSM fix_ts3.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Teamspeak 3.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_rust.sh function
# LinuxGSM fix_rust.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.

View File

@ -1,6 +1,7 @@
#!/bin/bash
# LinuxGSM fix_ut.sh function
# Author: Alexander Hurd
# LinuxGSM fix_ut.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament.

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