修改函数名字
This commit is contained in:
@@ -62,7 +62,7 @@ create_self_tls_config() {
|
||||
update_uuid
|
||||
|
||||
# 生成自签名证书和设置域名
|
||||
gen_self_tls "bing.com"
|
||||
create_self_tls "bing.com"
|
||||
|
||||
green "成功创建配置"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 生成自签名证书
|
||||
gen_self_tls() {
|
||||
create_self_tls() {
|
||||
local domain="${1:-bing.com}"
|
||||
local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # 脚本文件夹绝对路径
|
||||
local key_dir="$script_dir/../tls/self-tls"
|
||||
Reference in New Issue
Block a user