diff --git a/Arma3/arma3server b/Arma3/arma3server index 9ec36f907..6ae9e204f 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -529,7 +529,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -548,7 +548,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -817,7 +817,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index 366ce1fec..b22483066 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -804,7 +804,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 1ce760694..ebcc59d0b 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 6991c32a9..4f6933c63 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index 7c1e1d777..50f23dfa3 100644 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -549,7 +549,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -568,7 +568,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -726,7 +726,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 348745760..95e7e025f 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -532,7 +532,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -551,7 +551,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -697,7 +697,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index 367632cf2..c579d63a9 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 8ca29c83c..79048b513 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -532,7 +532,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -551,7 +551,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -697,7 +697,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index d59225ee7..17fc0066f 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -804,7 +804,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 03ac3d3a5..050cd6f8a 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -536,7 +536,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -555,7 +555,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -809,7 +809,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index 0c89adb05..30daaec3e 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -532,7 +532,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -551,7 +551,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -697,7 +697,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/HalfLifeDeathmatchClassic/hldmcserver b/HalfLifeDeathmatchClassic/hldmcserver index da5327e23..1c8f12314 100644 --- a/HalfLifeDeathmatchClassic/hldmcserver +++ b/HalfLifeDeathmatchClassic/hldmcserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/Insurgency/insserver b/Insurgency/insserver index 9f67e3959..9c89f6a47 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -804,7 +804,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 5e049291a..a6d9844db 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -535,7 +535,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -554,7 +554,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -760,7 +760,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index bf547a5f2..0e76e6a82 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -533,7 +533,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -552,7 +552,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -709,7 +709,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index db62bc606..b474ec1b6 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 9a85b1541..927c96f27 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -528,7 +528,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -547,7 +547,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -802,7 +802,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index cf76e2567..e67e5f2a8 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -804,7 +804,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index e6c004df2..63783c40a 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -518,7 +518,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -537,7 +537,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -740,7 +740,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index 3ad3790ab..0657ca029 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -532,7 +532,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -551,7 +551,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -697,7 +697,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 856b7c6fe..2beb587fe 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -531,7 +531,7 @@ sleep 1 fn_scriptlog "Updating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} +quit|tee -a "${scriptlog}" } fn_validateserver(){ @@ -550,7 +550,7 @@ sleep 1 fn_scriptlog "Validating ${servername}" cd "${rootdir}" cd "steamcmd" -./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" +./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit|tee -a "${scriptlog}" } fn_restartserver(){ @@ -696,7 +696,7 @@ echo "=================================" sleep 1 mkdir -pv "${filesdir}" cd "${rootdir}/steamcmd" -STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit +STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} "${steampass}" +force_install_dir "${filesdir}" +app_update ${appid} validate +quit echo "" echo "=================================" while true; do