From e1d3be49dd7e9c5165bc3010fdb2b61e0d7609f1 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 08:00:49 +0000 Subject: [PATCH] maybe driver for usb card? --- inxi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inxi b/inxi index 5be8c83..d3fa5d0 100755 --- a/inxi +++ b/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 )