mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
maybe driver for usb card?
This commit is contained in:
parent
11a97ad73b
commit
e1d3be49dd
4
inxi
4
inxi
|
@ -3383,6 +3383,10 @@ get_network_advanced_data()
|
|||
working_path="${working_path}${dir_path}"
|
||||
fi
|
||||
fi
|
||||
# /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/uevent grep for DRIVER=
|
||||
if [[ -n $( grep -si 'DRIVER=' $working_path/uevent | cut -d '=' -f 2 ) ]];then
|
||||
a_network_adv_working[1]=$( grep -si 'DRIVER=' $working_path/uevent | cut -d '=' -f 2 )
|
||||
fi
|
||||
|
||||
if [[ -e $working_path/net ]];then
|
||||
if_path=$( ls $working_path/net 2>/dev/null )
|
||||
|
|
Loading…
Reference in a new issue