Update serv00keep.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-01-22 11:21:32 +08:00
committed by GitHub
parent 04fd5dcb06
commit 605f0cb7ba
+5
View File
@@ -115,7 +115,12 @@ EOF
uuidport(){ uuidport(){
if [[ -z "$UUID" ]]; then if [[ -z "$UUID" ]]; then
if [ ! -e UUID.txt ]; then
UUID=$(uuidgen -r) UUID=$(uuidgen -r)
echo "$UUID" > UUID.txt
else
UUID=$(<UUID.txt)
fi
fi fi
if [[ -z "$reym" ]]; then if [[ -z "$reym" ]]; then
reym=$USERNAME.serv00.net reym=$USERNAME.serv00.net