From 4c493d74fc71089a9dd267323fabca5fb89eeb06 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 26 Jun 2019 22:52:14 +0100 Subject: [PATCH] fix(untserver): Unturned is now x64 --- lgsm/config-default/config-lgsm/untserver/_default.cfg | 2 +- lgsm/functions/fix_unt.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/config-default/config-lgsm/untserver/_default.cfg b/lgsm/config-default/config-lgsm/untserver/_default.cfg index 44c8e40a2..b65a45510 100644 --- a/lgsm/config-default/config-lgsm/untserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/untserver/_default.cfg @@ -120,7 +120,7 @@ glibc="2.15" ## Server Specific Directories systemdir="${serverfiles}" executabledir="${serverfiles}" -executable="./Unturned_Headless.x86" +executable="./Unturned_Headless.x86_64" servercfgdir="${systemdir}/Servers/${servicename}" servercfg="Config.json" servercfgdefault="Config.json" diff --git a/lgsm/functions/fix_unt.sh b/lgsm/functions/fix_unt.sh index bc29a54ed..3c9c9335a 100644 --- a/lgsm/functions/fix_unt.sh +++ b/lgsm/functions/fix_unt.sh @@ -7,5 +7,5 @@ local commandname="FIX" local commandaction="Fix" -# Fixes: [Raknet] Server Shutting Down (Shutting Down). -export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${systemdir}/lib" +# steamclient.so: cannot open shared object file: No such file or directory +export LD_LIBRARY_PATH="${serverfiles}/linux64:${serverfiles}:$LD_LIBRARY_PATH"