Use kernel for UUID generation

This commit is contained in:
Whispering Wind
2025-02-12 21:20:58 +03:30
committed by GitHub
parent 436f73154b
commit 321900bc1a

View File

@ -53,7 +53,7 @@ EOF
echo "Generating passwords and UUID..." echo "Generating passwords and UUID..."
obfspassword=$(pwgen -s 32 1) obfspassword=$(pwgen -s 32 1)
UUID=$(uuidgen) UUID=$(cat /proc/sys/kernel/random/uuid)
chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt chown hysteria:hysteria /etc/hysteria/ca.key /etc/hysteria/ca.crt
chmod 640 /etc/hysteria/ca.key /etc/hysteria/ca.crt chmod 640 /etc/hysteria/ca.key /etc/hysteria/ca.crt