some comments to explain fixes

This commit is contained in:
inxi-svn 2011-06-06 04:26:02 +00:00
parent 19842a2622
commit cf092714fa

2
inxi
View file

@ -3964,7 +3964,7 @@ get_network_advanced_data()
if_path=$( ls $working_uevent_path/net 2>/dev/null ) if_path=$( ls $working_uevent_path/net 2>/dev/null )
if_id=$if_path if_id=$if_path
working_path=$working_uevent_path/net/$if_path working_path=$working_uevent_path/net/$if_path
# this case, from debian squeeze: # this case, from debian squeeze 2.6.32-5-686:
# /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-1/net/wlan0/address # /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-1/net/wlan0/address
elif [[ -e $working_path/net ]];then elif [[ -e $working_path/net ]];then
if_path=$( ls $working_path/net 2>/dev/null ) if_path=$( ls $working_path/net 2>/dev/null )