gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
764 B
27 lines
764 B
#!/bin/bash
|
|
# LGSM install_ut2k4_key.sh function
|
|
# Author: Daniel Gibbs
|
|
# Website: http://gameservermanagers.com
|
|
lgsm_version="271215"
|
|
|
|
|
|
echo ""
|
|
echo "Enter ${gamename} CD Key"
|
|
echo "================================="
|
|
sleep 1
|
|
echo "To get your server listed on the Master Server list"
|
|
echo "you must get a free CD key. Get a key here:"
|
|
echo "http://www.unrealtournament.com/ut2004server/cdkey.php"
|
|
echo ""
|
|
if [ -z "${autoinstall}" ]; then
|
|
echo "Once you have the key enter it below"
|
|
echo -n "KEY: "
|
|
read CODE
|
|
echo ""\""CDKey"\""="\""${CODE}"\""" > "${systemdir}/cdkey"
|
|
if [ -f "${systemdir}/cdkey" ]; then
|
|
fn_scriptlog "UT2K4 Server CD Key created"
|
|
else
|
|
echo "You can add your key using the following command"
|
|
echo "./${selfname} server-cd-key"
|
|
fi
|
|
echo ""
|