Forráskód Böngészése

Install config if missing fixes #1142

UltimateByte 9 éve
szülő
commit
63a040cf83
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      lgsm/functions/check_config.sh

+ 2 - 1
lgsm/functions/check_config.sh

@@ -15,7 +15,8 @@ if [ ! -e "${servercfgfullpath}" ]; then
 		echo "${servercfgfullpath}"
 		echo "${servercfgfullpath}"
 		fn_script_log_warn "Configuration file missing!"
 		fn_script_log_warn "Configuration file missing!"
 		fn_script_log_warn "${servercfgfullpath}"
 		fn_script_log_warn "${servercfgfullpath}"
-		sleep 2
+		sleep 1
+		install_config.sh
 	fi
 	fi
 fi
 fi