added more info for auto install

This commit is contained in:
Daniel Gibbs 2015-12-09 21:59:50 +00:00
parent 61e83b4633
commit 51eceba913

View File

@ -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