Просмотр исходного кода

added "on" as an option updateonstart

Daniel Gibbs 11 лет назад
Родитель
Сommit
3cd1cc9946
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      functions/fn_start

+ 2 - 2
functions/fn_start

@@ -2,7 +2,7 @@
 # LGSM fn_start function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 180615
+# Version: 150715
 
 # Description: Starts the server.
 
@@ -39,7 +39,7 @@ fi
 fn_logs
 
 # Will check for updates is updateonstart is yes
-if [ "${updateonstart}" == "yes" ]||[ "${updateonstart}" == "1" ]; then
+if [ "${updateonstart}" == "yes" ]||[ "${updateonstart}" == "1" ]||[ "${updateonstart}" == "on" ]; then
 	fn_update_check
 fi