4
0
Эх сурвалжийг харах

added "on" as an option updateonstart

Daniel Gibbs 11 жил өмнө
parent
commit
3cd1cc9946

+ 2 - 2
functions/fn_start

@@ -2,7 +2,7 @@
 # LGSM fn_start function
 # LGSM fn_start function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-# Version: 180615
+# Version: 150715
 
 
 # Description: Starts the server.
 # Description: Starts the server.
 
 
@@ -39,7 +39,7 @@ fi
 fn_logs
 fn_logs
 
 
 # Will check for updates is updateonstart is yes
 # 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
 	fn_update_check
 fi
 fi