From b059808d467d479af5ca9d311b394c06591543e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:10:55 +0800 Subject: [PATCH] Update serv00.sh --- serv00.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/serv00.sh b/serv00.sh index 4da72b9..9d06eac 100644 --- a/serv00.sh +++ b/serv00.sh @@ -10,7 +10,6 @@ yellow() { echo -e "\e[1;33m$1\033[0m"; } purple() { echo -e "\e[1;35m$1\033[0m"; } reading() { read -p "$(red "$1")" "$2"; } USERNAME=$(whoami | tr '[:upper:]' '[:lower:]') -#USERNAME=$(whoami) snb=$(hostname | cut -d. -f1) nb=$(hostname | cut -d '.' -f 1 | tr -d 's') HOSTNAME=$(hostname) @@ -1288,8 +1287,7 @@ red() { echo -e "\e[1;91m$1\033[0m"; } green() { echo -e "\e[1;32m$1\033[0m"; } yellow() { echo -e "\e[1;33m$1\033[0m"; } purple() { echo -e "\e[1;35m$1\033[0m"; } -#USERNAME=$(whoami | tr '\''[:upper:]'\'' '\''[:lower:]'\'') -USERNAME=$(whoami) +USERNAME=$(whoami | tr '\''[:upper:]'\'' '\''[:lower:]'\'') WORKDIR="${HOME}/domains/${USERNAME}.serv00.net/logs" snb=$(hostname | cut -d. -f1) hona=$(hostname | cut -d. -f2)