Update serv00.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-03-21 14:10:55 +08:00
committed by GitHub
parent 2bddfff863
commit b059808d46
+1 -3
View File
@@ -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)