소스 검색

Install config if missing fixes #1142

UltimateByte 9 년 전
부모
커밋
63a040cf83
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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}"
 		fn_script_log_warn "Configuration file missing!"
 		fn_script_log_warn "${servercfgfullpath}"
-		sleep 2
+		sleep 1
+		install_config.sh
 	fi
 fi