Fix command to extract network interface names
commit34a07d25401363b487e383e90c0bb7c5f7bda0c9
authorsegfault <segfault@riseup.net>
Thu, 15 Aug 2024 21:50:15 +0000 (15 23:50 +0200)
committersegfault <segfault@riseup.net>
Thu, 15 Aug 2024 22:01:52 +0000 (16 00:01 +0200)
tree8fc09a587c5dddd9a51763573dc49d87c0a14982
parent6106c53a4a344be4ec5b7990fa1c7fb8c4be85a4
Fix command to extract network interface names

`ip link` displays pairs of virtual interfaces like this:

1: veth1@veth0: [...]
2: veth0@veth1: [...]

`ethtool` can only show information for `veth0`, not `veth1@veth0`, so
we adapt the command to only return the `veth0` part.
config/chroot_local-includes/usr/local/lib/tails-spoof-mac