fix bug
This commit is contained in:
parent
bcae550ff2
commit
bf343f6186
@ -9,13 +9,13 @@ create_config_with_tls_cert() {
|
||||
cp "$config_dir/template/tls_cert_config.json" "$config_file"
|
||||
|
||||
# 设置端口
|
||||
bash "$script_dir/update_port.sh"
|
||||
update_port
|
||||
|
||||
# 设置密码
|
||||
bash "$script_dir/update_password.sh"
|
||||
update_password
|
||||
|
||||
# 设置UUID
|
||||
bash "$script_dir/update_uuid.sh"
|
||||
update_uuid
|
||||
|
||||
# 获取邮箱
|
||||
local user_email
|
||||
@ -53,16 +53,16 @@ create_self_tls_config() {
|
||||
cp "$script_dir/../config/template/self_cert_config.json" "$script_dir/../config/config.json"
|
||||
|
||||
# 设置端口
|
||||
bash "$script_dir/update_port.sh"
|
||||
update_port
|
||||
|
||||
# 设置密码
|
||||
bash "$script_dir/update_password.sh"
|
||||
update_password
|
||||
|
||||
# 设置UUID
|
||||
bash "$script_dir/update_uuid.sh"
|
||||
update_uuid
|
||||
|
||||
# 生成自签名证书和设置域名
|
||||
bash "$script_dir/gen_self_tls.sh" "bing.com"
|
||||
gen_self_tls "bing.com"
|
||||
|
||||
green "成功创建配置"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user