From 2bddfff863265f0d82ce4718b542f224560cc8cc 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 13:58:48 +0800 Subject: [PATCH] Update serv00.sh --- serv00.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serv00.sh b/serv00.sh index 5282eb4..4da72b9 100644 --- a/serv00.sh +++ b/serv00.sh @@ -9,8 +9,8 @@ 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"; } reading() { read -p "$(red "$1")" "$2"; } -#USERNAME=$(whoami | tr '[:upper:]' '[:lower:]') -USERNAME=$(whoami) +USERNAME=$(whoami | tr '[:upper:]' '[:lower:]') +#USERNAME=$(whoami) snb=$(hostname | cut -d. -f1) nb=$(hostname | cut -d '.' -f 1 | tr -d 's') HOSTNAME=$(hostname)