From fbef65489e207c50a0827818013245da9a6375d5 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 4 May 2017 21:39:38 +0100 Subject: [PATCH] removed gamename as not required to start the server --- linuxgsm.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index 811ea5db9..a31fea535 100644 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -2,11 +2,13 @@ # Project: Game Server Managers - LinuxGSM # Author: Daniel Gibbs # License: MIT License, Copyright (c) 2017 Daniel Gibbs -# Purpose: Counter-Strike: Global Offensive | Server Management Script +# Purpose: Linux Game Server Management Script # Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki # Website: https://gameservermanagers.com +# DO NOT EDIT THIS FILE + # Debugging if [ -f ".dev-debug" ]; then exec 5>dev-debug.log @@ -15,12 +17,11 @@ if [ -f ".dev-debug" ]; then fi version="170305" +shortname="core" +servername="core" rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" servicename="${selfname}" -shortname="core" -servername="core" -gamename="core" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log" @@ -242,7 +243,6 @@ fn_install_file(){ cp -R "${selfname}" "${local_filename}" sed -i -e "s/shortname=\"core\"/shortname=\"${shortname}\"/g" "${local_filename}" sed -i -e "s/servername=\"core\"/servername=\"${servername}\"/g" "${local_filename}" - sed -i -e "s/gamename=\"core\"/gamename=\"${gamename}\"/g" "${local_filename}" echo "Installed ${gamename} server as ${local_filename}" echo "./${local_filename} install" exit