mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
removed gamename as not required to start the server
This commit is contained in:
parent
f6a5338767
commit
fbef65489e
10
linuxgsm.sh
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user