]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2011/01/index.html
Generated.
[homepage.git] / blog / archive / 2011 / 01 / index.html
index d97664cbb66b5fa306afac0be61dfab100bebebb..d45d66b683a5e5d776be88a2ba875301696ea941 100644 (file)
@@ -1362,7 +1362,7 @@ if [ -d /sys/bus/pci/devices/ ] ; then
                 module=`cd $address/driver/module ; pwd -P | xargs basename`
                 if grep -q "^$module " /proc/modules ; then
                     address=$(echo $address |sed s/0000://)
-                   id=`lspci -n -s $address | tail -n 1 | awk '{print $3}'`
+                    id=`lspci -n -s $address | tail -n 1 | awk '{print $3}'`
                     echo "$id $module"
                 fi
             fi