update
This commit is contained in:
parent
f4ee8e5f9d
commit
e1df21775d
@ -4,7 +4,7 @@
|
|||||||
xray x25519 > ../conf/key.txt
|
xray x25519 > ../conf/key.txt
|
||||||
echo "success save keys to key.txt"
|
echo "success save keys to key.txt"
|
||||||
|
|
||||||
private_key=$(grep "Public key" ../conf/key.txt | awk -F ': ' '{print $2}')
|
private_key=$(grep "Private key" ../conf/key.txt | awk -F ': ' '{print $2}')
|
||||||
|
|
||||||
# # update config.json
|
# # update config.json
|
||||||
jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json
|
jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user