Improve tests
This commit is contained in:
parent
32d3216bde
commit
480ade162b
2 changed files with 93 additions and 51 deletions
|
@ -606,7 +606,7 @@ prompt_public_ip() {
|
|||
break
|
||||
done
|
||||
else
|
||||
for vpn_iface in $(ip link ls up | grep -o -E ":\s+[a-z0-9]+:" | grep -v "lo" | grep -o -E "[a-z0-9]+" | grep -o -E "^$POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE.*")
|
||||
for vpn_iface in $(${ROOT_PREFIX}/sbin/ip link ls up | grep -o -E ":\s+[a-z0-9]+:" | grep -v "lo" | grep -o -E "[a-z0-9]+" | grep -o -E "^$POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE.*")
|
||||
do
|
||||
icon='VPN_ICON'
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue