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"
|
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
|
# 设置UUID
|
||||||
bash "$script_dir/update_uuid.sh"
|
update_uuid
|
||||||
|
|
||||||
# 获取邮箱
|
# 获取邮箱
|
||||||
local user_email
|
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"
|
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
|
# 设置UUID
|
||||||
bash "$script_dir/update_uuid.sh"
|
update_uuid
|
||||||
|
|
||||||
# 生成自签名证书和设置域名
|
# 生成自签名证书和设置域名
|
||||||
bash "$script_dir/gen_self_tls.sh" "bing.com"
|
gen_self_tls "bing.com"
|
||||||
|
|
||||||
green "成功创建配置"
|
green "成功创建配置"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user