Extra grep

main
bashrc 2026-03-01 15:32:16 +00:00
parent c14436f5ec
commit ed527e29dd
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ fi
echo 'Creating a command script to obtain yggdrasil address' echo 'Creating a command script to obtain yggdrasil address'
{ echo '#!/bin/bash'; { echo '#!/bin/bash';
echo "ip a | grep \"inet6 2\" | awk -F ' ' '{print \$2}' | awk -F '/' '{print \$1}'"; } > /usr/bin/yggdrasil-address echo "ip a | grep \"inet6 2\" | grep \"/7\" | awk -F ' ' '{print \$2}' | awk -F '/' '{print \$1}'"; } > /usr/bin/yggdrasil-address
chmod +x /usr/bin/yggdrasil-address chmod +x /usr/bin/yggdrasil-address
echo 'Creating yggdrasil configuration' echo 'Creating yggdrasil configuration'