Browse Source

Added fix for when doesn't stay running

pull/3020/head
Alasdair Haig 5 years ago
parent
commit
4918082e41
  1. 5
      lgsm/functions/core_functions.sh
  2. 2
      lgsm/functions/fix.sh
  3. 9
      lgsm/functions/fix_vh.sh

5
lgsm/functions/core_functions.sh

@ -465,6 +465,11 @@ functionfile="${FUNCNAME[0]}"
fn_fetch_function
}
fix_vh.sh(){
functionfile="${FUNCNAME[0]}"
fn_fetch_function
}
fix_wurm.sh(){
functionfile="${FUNCNAME[0]}"
fn_fetch_function

2
lgsm/functions/fix.sh

@ -82,6 +82,8 @@ if [ "${commandname}" != "INSTALL" ]&&[ -z "${fixbypass}" ]; then
fix_mta.sh
elif [ "${shortname}" == "unt" ]; then
fix_unt.sh
elif [ "${shortname}" == "vh" ]; then
fix_vh.sh
elif [ "${shortname}" == "wurm" ]; then
fix_wurm.sh
elif [ "${shortname}" == "zmr" ]; then

9
lgsm/functions/fix_vh.sh

@ -0,0 +1,9 @@
#!/bin/bash
# LinuxGSM fix_rust.sh function
# Author: Alasdair Haig
# Website: https://linuxgsm.com
# Description: Resolves startup issue with Valheim
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH
Loading…
Cancel
Save