Update serv00.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-04-01 11:34:31 +08:00
committed by GitHub
parent 94345c6c55
commit a6d4766621
-1
View File
@@ -9,7 +9,6 @@ green() { echo -e "\e[1;32m$1\033[0m"; }
yellow() { echo -e "\e[1;33m$1\033[0m"; } yellow() { echo -e "\e[1;33m$1\033[0m"; }
purple() { echo -e "\e[1;35m$1\033[0m"; } purple() { echo -e "\e[1;35m$1\033[0m"; }
reading() { read -p "$(red "$1")" "$2"; } reading() { read -p "$(red "$1")" "$2"; }
devil binexec on >/dev/null 2>&1
USERNAME=$(whoami | tr '[:upper:]' '[:lower:]') USERNAME=$(whoami | tr '[:upper:]' '[:lower:]')
snb=$(hostname | cut -d. -f1) snb=$(hostname | cut -d. -f1)
nb=$(hostname | cut -d '.' -f 1 | tr -d 's') nb=$(hostname | cut -d '.' -f 1 | tr -d 's')