Browse Source

added force-update option

The update checker is not detecting updates as SteamCMD is not always
returning the latest release number. I dont know why SteamCMD is doing
this.

I have added force-update which will simply force an update without
checking first (the server will restart)

I recommend using update once an hour and force-update daily.
pull/368/head
Daniel Gibbs 10 years ago
parent
commit
672558e335
  1. 4
      functions/fn_getopt

4
functions/fn_getopt

@ -2,7 +2,7 @@
# LGSM fn_getopt function # LGSM fn_getopt function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
# Version: 150414 # Version: 060514
# Description: getopt arguments. # Description: getopt arguments.
@ -16,6 +16,8 @@ case "$getopt" in
fn_restart;; fn_restart;;
update) update)
fn_update_check;; fn_update_check;;
force-update)
fn_update_dl;;
validate) validate)
fn_validate;; fn_validate;;
monitor) monitor)

Loading…
Cancel
Save