TEST-50-MULTINIC: fix how a basename is determined

Analogous to what commit 687e17aa7f ("network-manager: fix getting of
ifname from the sysfs path") fixes.
master
Lubomir Rintel 2019-11-11 09:53:01 +01:00 committed by Daniel Molkentin
parent 10f8438c1e
commit 031e949c62
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export TERM=linux
export PS1='initramfs-test:\w\$ '
stty sane
echo "made it to the rootfs! Powering down."
for i in /sys/class/net/*/
for i in /sys/class/net/*
do
# booting with network-manager module
state=/run/NetworkManager/devices/$(cat $i/ifindex)