更新 hy2.sh
This commit is contained in:
5
hy2.sh
5
hy2.sh
@@ -48,7 +48,8 @@ confirm_yn() {
|
||||
}
|
||||
|
||||
generate_password() {
|
||||
tr -dc 'A-Za-z0-9' </dev/urandom | head -c 24
|
||||
openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | head -c 24
|
||||
echo
|
||||
}
|
||||
|
||||
get_server_ip() {
|
||||
@@ -69,7 +70,7 @@ apt_update_and_install_base() {
|
||||
apt update -y
|
||||
|
||||
blue "==> 安装基础依赖"
|
||||
apt install -y curl sed ufw
|
||||
apt install -y curl sed ufw openssl
|
||||
}
|
||||
|
||||
disable_existing_firewalls() {
|
||||
|
||||
Reference in New Issue
Block a user