| 12345678910111213141516171819202122232425262728 |
- #!/bin/bash
- # LGSM install_ut2k4_key.sh function
- # Author: Daniel Gibbs
- # Website: http://gameservermanagers.com
- lgsm_version="271215"
- local modulename="Install"
- 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 ""
|