diff --git a/bin/run.sh b/bin/run.sh index 852cb74..7cb7b83 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -14,16 +14,6 @@ run() { # 检查bash是否安装 check_bash_installed - # 如果配置没有创建 - local config_file="$config_dir/config.json" - if [ ! -e "$config_file" ]; then - touch "$config_file" - fi - local password=$(jq -r '.inbounds[0].users[0].password' "$config_file") - if [ ! -s "$config_file" ] || [ "$password" = "你的密码" ]; then - bash "$script_dir/create_config.sh" # 创建配置 - fi - # 如果容器已经启动, 则先停止容器 local compose_file="$script_dir/../docker-compose.yml" if docker-compose -f "$compose_file" ps | grep -q "Up"; then