Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejun committed Nov 17, 2024
1 parent 616ed80 commit 8100f90
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/bin/bash

RED='\033[0;91m'
GREEN='\033[0;92m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
CYAN='\033[0;96m'
WHITE='\033[0;37m'
RESET='\033[0m'
yellow() {
echo -e "${YELLOW}$1${RESET}"
}
green() {
echo -e "${GREEN}$1${RESET}"
}
red() {
echo -e "${RED}$1${RESET}"
}
installpath="$HOME"
source ${installpath}/serv00-play/utils.sh

Expand Down Expand Up @@ -1042,7 +1059,7 @@ setCnTimeZone(){
cat .profile | perl ./serv00-play/mkprofile.pl > tmp_profile
mv -f tmp_profile .profile

read -p "设置完毕,需要重新登录才能生效,是否重新登录?[y/n] [y]:" input
read -p "$(yellow 设置完毕,需要重新登录才能生效,是否重新登录?[y/n] [y]:)" input
input=${input:-y}

if [ "$input" = "y" ]; then
Expand Down

0 comments on commit 8100f90

Please sign in to comment.