Changeset 257 for bootstrapper


Ignore:
Timestamp:
Feb 16, 2016, 8:34:20 PM (9 years ago)
Author:
alloc
Message:

Scripts: Removed Steam login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r229 r257  
    183183}
    184184
    185 setSteamLoginData() {
    186         echo -e "Steam account data\n"
    187         echo -e "Steam account login data is required for SteamCMD to get the 7dtd-server files.\n"
    188         echo -e "Store account login data in /etc/7dtd.conf which will be only readable by root?"
    189         echo -e "If you select to NOT store the data you will have to enter it each time you want"
    190         echo -e "to update the server files.\n"
    191         while : ; do
    192                 local STOREDATA
    193                 read -p "Store data in /etc/7dtd.conf? (yn) " STOREDATA
    194                 case $STOREDATA in
    195                         y)
    196                                 read -p "Steam username: " username
    197                                 read -s -p "Steam password: " password
    198                                 sed -i "s/export STEAM_USER=/export STEAM_USER=$username/" /etc/7dtd.conf
    199                                 sed -i "s/export STEAM_PASS=/export STEAM_PASS=$password/" /etc/7dtd.conf
    200                                 echo -e "\n=============================================================\n\n"
    201                                 break
    202                                 ;;
    203                         n)
    204                                 break
    205                                 ;;
    206                         *)
    207                                 echo "Wrong input"
    208                 esac
    209         done
    210 }
    211 
    212185installSteamCmdAndSDTD() {
    213186        echo -e "Installing SteamCMD and 7DtD\n"
     
    269242        setupUser
    270243        installManagementScripts
    271         setSteamLoginData
    272244        installSteamCmdAndSDTD
    273245        if [ $ADDCRONJOBS -eq 1 ]; then
Note: See TracChangeset for help on using the changeset viewer.