mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
82b3c0728e
commit
a08f40b267
2
inxi
2
inxi
|
@ -3049,7 +3049,7 @@ get_network_advanced_data()
|
||||||
# 2.6.32 debian lenny kernel shows not: /net/eth0 but /net:eth0
|
# 2.6.32 debian lenny kernel shows not: /net/eth0 but /net:eth0
|
||||||
else
|
else
|
||||||
card_port=$( ls $working_path | grep 'net:' )
|
card_port=$( ls $working_path | grep 'net:' )
|
||||||
eth_id=$( cut -d ':' -f 2 <<< "$data1" )
|
eth_id=$( cut -d ':' -f 2 <<< "$card_port" )
|
||||||
working_path=$working_path/$card_port
|
working_path=$working_path/$card_port
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue