mirror of
https://github.com/TheyCallMeSecond/sing-box-manager.git
synced 2024-11-16 11:42:39 +08:00
Update 0.sh
This commit is contained in:
parent
7eb4cce5bc
commit
fc63fc031e
11
0.sh
11
0.sh
|
@ -1231,7 +1231,15 @@ function generate_Hysteria_config() {
|
|||
}" > "$config_file"
|
||||
}
|
||||
|
||||
|
||||
# 函数:显示配置信息
|
||||
function display_Hysteria_config_info() {
|
||||
echo -e "配置信息如下:"
|
||||
echo "域名:$domain"
|
||||
echo "监听端口:$listen_port"
|
||||
echo "上行速度:${up_mbps}Mbps"
|
||||
echo "下行速度:${down_mbps}Mbps"
|
||||
echo "用户密码:$auth_password"
|
||||
}
|
||||
|
||||
# 重启 sing-box 服务
|
||||
function restart_sing_box_service() {
|
||||
|
@ -1420,6 +1428,7 @@ function Hysteria_install() {
|
|||
systemctl daemon-reload
|
||||
systemctl enable sing-box
|
||||
systemctl start sing-box
|
||||
display_Hysteria_config_info
|
||||
}
|
||||
|
||||
# 主菜单
|
||||
|
|
Loading…
Reference in New Issue
Block a user