From 22847aa5900cfbdebd51acd7384a0cc956e7ae30 Mon Sep 17 00:00:00 2001 From: cppla <10623809+cppla@users.noreply.github.com> Date: Wed, 23 Feb 2022 15:41:08 +0800 Subject: [PATCH] Update status.sh auto install bash. --- status.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/status.sh b/status.sh index ea11e4b..ba64046 100644 --- a/status.sh +++ b/status.sh @@ -20,7 +20,7 @@ service="/usr/lib/systemd/system" jq_file="${file}/jq" [[ ! -e ${jq_file} ]] && jq_file="/usr/bin/jq" -github_prefix="https://raw.githubusercontent.com/jwstaceyOvO/ServerStatus/master" +github_prefix="https://raw.githubusercontent.com/cppla/ServerStatus/master" NAME="ServerStatus" Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m" @@ -251,8 +251,8 @@ Set_password() { else echo -e "请输入 $NAME 服务端中对应配置的密码[password](字母/数字)" fi - read -erp "(默认: doub.io):" password_s - [[ -z "$password_s" ]] && password_s="doub.io" + read -erp "(默认: serverstatus):" password_s + [[ -z "$password_s" ]] && password_s="serverstatus" echo && echo " ================================================" echo -e " 密码[password]: ${Red_background_prefix} ${password_s} ${Font_color_suffix}" echo " ================================================" && echo