diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 94fdd2789..7ececb921 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -473,11 +473,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -549,9 +549,9 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index cfbae81e1..f8311243c 100644 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -474,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -536,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index b811ffb9d..59d033621 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -474,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -536,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 460034029..fc9d5a201 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -37,6 +37,7 @@ filesdir="${rootdir}/serverfiles" servercfg="${filesdir}/dod/cfg/${servicename}.cfg" backupdir="backups" +# Server Details servername=$(grep -s hostname ${servercfg} | sed 's/hostname //g'|sed 's/"//g') rcon=$(grep -s rcon_password ${servercfg} | sed 's/rcon_password //g'|sed 's/"//g') @@ -473,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -535,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index a85d4a66b..873299e0a 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -474,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -536,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 34d0d7e82..d39ff3e94 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -146,7 +146,7 @@ chmod 0600 guard.txt echo "set_steam_guard_code $CODE" > guard.txt echo "login ${steamuser} ${steampass}" >> guard.txt echo "quit" >> guard.txt -STEAMEXE=steamcmd ./steam.sh +runscript guard.txt +STEAMEXE=steamcmd ./steamcmd.sh +runscript guard.txt rm guard.txt cd ../ echo "==============================" @@ -573,11 +573,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -635,7 +635,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index 8c7cb43d5..56ea5b26a 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -474,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -536,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 55939bc92..fecb95fab 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -470,11 +470,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -532,7 +532,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 84ab61761..610a90d24 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -478,11 +478,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -540,7 +540,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index 31c18dc1f..7eb9fd129 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -142,7 +142,7 @@ chmod 0600 guard.txt echo "set_steam_guard_code $CODE" > guard.txt echo "login ${steamuser} ${steampass}" >> guard.txt echo "quit" >> guard.txt -STEAMEXE=steamcmd ./steam.sh +runscript guard.txt +STEAMEXE=steamcmd ./steamcmd.sh +runscript guard.txt rm guard.txt cd ../ echo "==============================" @@ -570,11 +570,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -632,7 +632,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "=================================" diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index e0f74b0ff..555da3842 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 221113 +# Version: 081213 #### Variables #### @@ -474,11 +474,11 @@ echo "=================================" cd ${rootdir} mkdir steamcmd cd steamcmd -if [ ! -f steam.sh ];then +if [ ! -f steamcmd.sh ];then wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar --verbose -zxf steamcmd_linux.tar.gz rm -v steamcmd_linux.tar.gz - chmod +x steam.sh + chmod +x steamcmd.sh else echo "Steam already installed!" fi @@ -536,7 +536,7 @@ echo "=================================" echo "force_install_dir ${filesdir}" >> install.txt echo "app_update ${appid} validate" >> install.txt echo "quit" >> install.txt - STEAMEXE=steamcmd ./steam.sh +runscript install.txt + STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt rm install.txt echo "" echo "================================="