mirror of https://gitlab.com/bashrc2/epicyon
More robust method to get yggdrasil address
parent
aa553ae6ee
commit
d91b173549
|
|
@ -89,7 +89,8 @@ fi
|
|||
|
||||
echo 'Creating a command script to obtain yggdrasil address'
|
||||
{ echo '#!/bin/bash';
|
||||
echo "sudo yggdrasilctl getself | grep \"IPv6 address\" | awk -F ' ' '{print \$3}'"; } > /usr/bin/yggdrasil-address
|
||||
echo -n '2'
|
||||
echo "sudo yggdrasilctl getself | grep \"IPv6 address\" | awk -F ' 2' '{print \$2}'"; } > /usr/bin/yggdrasil-address
|
||||
chmod +x /usr/bin/yggdrasil-address
|
||||
|
||||
echo 'Creating yggdrasil configuration'
|
||||
|
|
|
|||
Loading…
Reference in New Issue