瀏覽代碼

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