diff --git a/other/brook_centos b/other/brook_centos index 5794864d..6c2b63b1 100644 --- a/other/brook_centos +++ b/other/brook_centos @@ -41,6 +41,7 @@ read_config(){ View_User(){ ip=`wget -qO- -t1 -T2 ipinfo.io/ip` [[ -z ${ip} ]] && ip="VPS_IP" + [[ -z ${music} ]] && music="无 (客户端留空)" clear && echo "————————————————" && echo echo -e " Brook 信息 :" && echo echo -e " 地址\t: ${Green_font_prefix}${ip}${Font_color_suffix}" diff --git a/other/brook_debian b/other/brook_debian index 4f96189b..01cd8cdb 100644 --- a/other/brook_debian +++ b/other/brook_debian @@ -39,6 +39,7 @@ read_config(){ View_User(){ ip=`wget -qO- -t1 -T2 ipinfo.io/ip` [[ -z ${ip} ]] && ip="VPS_IP" + [[ -z ${music} ]] && music="无 (客户端留空)" clear && echo "————————————————" && echo echo -e " Brook 信息 :" && echo echo -e " 地址\t: ${Green_font_prefix}${ip}${Font_color_suffix}"