mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-09 04:27:35 +08:00
added more info for auto install
This commit is contained in:
parent
61e83b4633
commit
51eceba913
@ -3,6 +3,9 @@
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 091215
|
||||
|
||||
# Description: Configures GSLT.
|
||||
|
||||
if [ -z "${autoinstall}" ]; then
|
||||
echo ""
|
||||
echo "Game Server Login Token"
|
||||
@ -11,22 +14,29 @@ if [ -z "${autoinstall}" ]; then
|
||||
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
|
||||
echo "GSLT is required to run a public ${gamename} server"
|
||||
else
|
||||
echo "GSLT is an optional feature when ${gamename} server"
|
||||
echo "GSLT is an optional feature for ${gamename} server"
|
||||
fi
|
||||
|
||||
echo "Get more infomation and a token here:"
|
||||
echo "Get more info and a token here:"
|
||||
echo "http://gameservermanagers.com/gslt"
|
||||
echo ""
|
||||
echo "Enter token below"
|
||||
echo -n "TOKEN: "
|
||||
echo "Enter token below (Can be blank)."
|
||||
echo -n "GSLT TOKEN: "
|
||||
read token
|
||||
sed -i -e "s/gslt=\"\"/gslt=\"${token}\"/g" > "${selfname}"
|
||||
sed -i -e "s/gslt=\"\"/gslt=\"${token}\"/g" "${rootdir}/${selfname}"
|
||||
sleep 1
|
||||
echo "The GSLT can be changed by editing ${selfname}."
|
||||
echo ""
|
||||
else
|
||||
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
|
||||
fn_printinfo "GSLT is required to run a public ${gamename} server"
|
||||
fn_printinfomationnl "GSLT is required to run a public ${gamename} server"
|
||||
else
|
||||
fn_printinfo "GSLT is an optional feature when ${gamename} server"
|
||||
fn_printinfomationnl "GSLT is an optional feature for ${gamename} server"
|
||||
fi
|
||||
sleep 2
|
||||
echo "Get more info and a token here:"
|
||||
echo "http://gameservermanagers.com/gslt"
|
||||
echo ""
|
||||
sleep 1
|
||||
echo "The GSLT can be changed by editing ${selfname}."
|
||||
sleep 1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user