Use kernel for UUID generation
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user