mirror of
https://github.com/EvgenyNerush/easy-xray.git
synced 2026-09-06 15:38:04 +03:00
microfix
This commit is contained in:
@@ -168,7 +168,7 @@ or leave blank for simple default configuration:"
|
|||||||
then
|
then
|
||||||
keys=$(xray x25519) # string "Private key: Abc... Public key: Xyz..."
|
keys=$(xray x25519) # string "Private key: Abc... Public key: Xyz..."
|
||||||
keysF=$(echo $keys | cut -d " " -f 1) # which keys format xray uses?
|
keysF=$(echo $keys | cut -d " " -f 1) # which keys format xray uses?
|
||||||
keyF2=$(echo $keys | cut -d " " -f 4)
|
keysF2=$(echo $keys | cut -d " " -f 4)
|
||||||
if [ $keysF = "Private" ]; then
|
if [ $keysF = "Private" ]; then
|
||||||
private_key=$(echo $keys | cut -d " " -f 3) # get 3rd field of fields delimited by spaces
|
private_key=$(echo $keys | cut -d " " -f 3) # get 3rd field of fields delimited by spaces
|
||||||
public_key=$(echo $keys | cut -d " " -f 6) # get 6th field
|
public_key=$(echo $keys | cut -d " " -f 6) # get 6th field
|
||||||
|
|||||||
Reference in New Issue
Block a user