Skip to content

Commit

Permalink
Update status.sh
Browse files Browse the repository at this point in the history
auto install bash.
  • Loading branch information
cppla authored Feb 23, 2022
1 parent e8482bf commit 22847aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 22847aa

Please sign in to comment.