Browse Source

Merge pull request #412 from dgibbs64/pr/408

Pr 408
pull/450/head
Daniel Gibbs 10 years ago
parent
commit
f2a2fac5cd
  1. 2
      functions/fn_console
  2. 2
      functions/fn_install_glibcfix
  3. 2
      functions/fn_stop
  4. 7
      functions/fn_update_dl
  5. 6
      functions/fn_validate

2
functions/fn_console

@ -2,7 +2,7 @@
# LGSM fn_console function # LGSM fn_console function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 210115 # Version: 260515
# Description: Gives access to the server tmux console. # Description: Gives access to the server tmux console.

2
functions/fn_install_glibcfix

@ -2,7 +2,7 @@
# LGSM fn_install_glibcfix function # LGSM fn_install_glibcfix function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 110415 # Version: 260515
fn_glibcfixmsg(){ fn_glibcfixmsg(){
echo "" echo ""

2
functions/fn_stop

@ -2,7 +2,7 @@
# LGSM fn_stop function # LGSM fn_stop function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 080214 # Version: 260515
# Description: Stops the server. # Description: Stops the server.

7
functions/fn_update_dl

@ -2,7 +2,7 @@
# LGSM fn_update_dl function # LGSM fn_update_dl function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 160515 # Version: 280515
# Description: Runs a server update. # Description: Runs a server update.
@ -26,6 +26,11 @@ if [ $(command -v unbuffer) ]; then
fi fi
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit|tee -a "${scriptlog}" ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit|tee -a "${scriptlog}"
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
echo -e '\n'
fn_csgofix
fi
} }
fn_teamspeak3_dl(){ fn_teamspeak3_dl(){

6
functions/fn_validate

@ -2,7 +2,7 @@
# LGSM fn_validate function # LGSM fn_validate function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 190515 # Version: 280515
# Description: Runs a server validation. # Description: Runs a server validation.
@ -30,6 +30,10 @@ if [ $(command -v unbuffer) ]; then
fi fi
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}" ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}"
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
echo -e '\n'
fn_csgofix
fi
fn_scriptlog "Checking complete" fn_scriptlog "Checking complete"
} }

Loading…
Cancel
Save