get_network_interface_names.sh: adjust script.
This commit is contained in:
parent
2b34440c6a
commit
d11e1e0eac
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
inames=$(ip link | awk -F: '$0 !~ "lo|vir|wl|^[^0-9]"{print $2;getline}')
|
||||
inames=$(ip link | awk -F: '$0 !~ "lo|vir|wl|^[^0-9]"{print $2;getline}' | cut -d'@' -f1)
|
||||
|
||||
for _iname in $inames ; do
|
||||
echo ""
|
||||
|
Loading…
Reference in New Issue
Block a user