mirror of
https://github.com/EvgenyNerush/easy-xray.git
synced 2026-05-25 14:13:15 +03:00
microfix
This commit is contained in:
@@ -168,7 +168,7 @@ or leave blank for simple default configuration:"
|
||||
then
|
||||
keys=$(xray x25519) # string "Private key: Abc... Public key: Xyz..."
|
||||
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user