18 lines
329 B
Bash
18 lines
329 B
Bash
#!/bin/bash
|
|
|
|
init() {
|
|
local script_dir=$(cd "$(dirname "$0")"; pwd)
|
|
|
|
# 设置端口
|
|
bash "$script_dir/update_port.sh"
|
|
|
|
# 更新密码
|
|
bash "$script_dir/update_password.sh"
|
|
|
|
# 生成自签名证书和设置域名
|
|
bash "$script_dir/set_domain.sh" "bing.com"
|
|
|
|
echo "初始化设置完成"
|
|
}
|
|
|
|
init |