fix(pvr): add fix for libc

This commit is contained in:
Daniel Gibbs 2023-09-06 16:40:34 +01:00
parent 5593658107
commit 89ec08c8f1
39 changed files with 54 additions and 37 deletions

View File

@ -14,9 +14,11 @@ port="7777"
# Maps: bridge, datacenter, sand
defaultmap="datacenter"
# Get an API key from https://pavlov-ms.vankrupt.com/servers/v1/key
apikey=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="Pavlov ${defaultmap} -log -MultiHome=${ip} -Port=${port}"
startparameters="Pavlov ${defaultmap} -log -MultiHome=${ip} -Port=${port} ApiKey=${apikey}"
#### LinuxGSM Settings ####

View File

@ -16,6 +16,7 @@ defaultmap="PEI"
servername="LinuxGSM"
perspective="first" # Values: first, third, vehicle, Both.
gamemode="normal" # Values: normal, easy, gold.
## Game Server Login Token (GSLT): Required
# GSLT is required for running a public server.
# More info: https://docs.linuxgsm.com/steamcmd/gslt

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with ARK: Survival Evolved.
# Description: Resolves issues with ARK: Survival Evolved.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with ARMA3.
# Description: Resolves issues with ARMA3.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Arma Reforger.
# Description: Resolves issues with Arma Reforger.
module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Avorion
# Description: Resolves issues with Avorion.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Ballistic Overkill.
# Description: Resolves issues with Ballistic Overkill.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Barotrauma.
# Description: Resolves issues with Barotrauma.
module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves the issue of the not starting server on linux
# Description: Resolves issues with Chivalry: Medieval Warfare.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with CS:GO.
# Description: Resolves issues with Counter-Strike: Global Offensive.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Don't Starve Together.
# Description: Resolves issues with Don't Starve Together.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Hurtworld.
# Description: Resolves issues with Hurtworld.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Insurgency.
# Description: Resolves issues with Insurgency.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor.
# Description: Resolves issues with Killing Floor.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Killing Floor 2.
# Description: Resolves issues with Killing Floor 2.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -2,7 +2,7 @@
# LinuxGSM fix_lo.sh module
# Author: Daniel Gibbs
# Website: https://linuxgsm.com
# Description: Resolves installation issue with Last Oasis
# Description: Resolves various issues with Last Oasis.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves possible startup issue with Minecraft Bedrock.
# Description: Resolves various issues with Minecraft Bedrock.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Installs the libmysqlclient for database functions on the server.
# Description: Resolves various issues with Multi Theft Auto.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

14
lgsm/modules/fix_pvr.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# LinuxGSM fix_pvr.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Pavlov VR.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
if [ ! -f "${serverfiles}/linux64/libc++.so" ] && [ -f "/usr/lib/x86_64-linux-gnu/libc++.so.1" ]; then
cp "/usr/lib/x86_64-linux-gnu/libc++.so.1" "${serverfiles}/linux64/libc++.so"
fi
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/linux64"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Red Orchestra.
# Description: Resolves issues with Red Orchestra.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Rust.
# Description: Resolves issues with Rust.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Rising World.
# Description: Resolves issues with Rising World.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves issue that the default rcon password is not changed
# Description: Resolves issue that the default rcon password is not changed.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with 7 Days to Die.
# Description: Resolves issues with 7 Days to Die.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Source Forts Classic.
# Description: Resolves issues with Source Forts Classic.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Soldier of Fortune 2.
# Description: Resolves issues with Soldier of Fortune 2.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Squad.
# Description: Resolves issues with Squad.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Stationeers.
# Description: Resolves issues with Stationeers.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues related to SteamCMD.
# Description: Resolves issues with SteamCMD.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves an issue with Terraria.
# Description: Resolves issues with Terraria.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Team Fortress 2.
# Description: Resolves issues with Team Fortress 2.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Teamspeak 3.
# Description: Resolves issues with Teamspeak 3.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Unturned.
# Description: Resolves issues with Unturned.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament.
# Description: Resolves issues with Unreal Tournament.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament 2004.
# Description: Resolves issues with Unreal Tournament 2004.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Unreal Tournament 3.
# Description: Resolves issues with Unreal Tournament 3.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -2,7 +2,7 @@
# LinuxGSM fix_rust.sh module
# Author: Alasdair Haig
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Valheim
# Description: Resolves issues with Valheim,
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Wurm Unlimited.
# Description: Resolves issues with Wurm Unlimited.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

View File

@ -3,7 +3,7 @@
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Resolves various issues with Zombie Master: Reborn.
# Description: Resolves issues with Zombie Master: Reborn.
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"