mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
need to update the new path variables for the lenny fix too
This commit is contained in:
parent
cf092714fa
commit
3ac87738a9
4
inxi
4
inxi
|
@ -3972,9 +3972,9 @@ get_network_advanced_data()
|
||||||
working_path=$working_path/net/$if_path
|
working_path=$working_path/net/$if_path
|
||||||
# 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
|
||||||
if_path=$( ls $working_path 2>/dev/null | grep 'net:' )
|
if_path=$( ls $working_uevent_path 2>/dev/null | grep 'net:' )
|
||||||
if_id=$( cut -d ':' -f 2 <<< "$if_path" )
|
if_id=$( cut -d ':' -f 2 <<< "$if_path" )
|
||||||
working_path=$working_path/$if_path
|
working_path=$working_uevent_path/$if_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n $if_path ]];then
|
if [[ -n $if_path ]];then
|
||||||
|
|
Loading…
Reference in a new issue