]> pere.pagekite.me Git - homepage.git/commitdiff
Drop tabs.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 22 Jan 2011 23:23:27 +0000 (23:23 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 22 Jan 2011 23:23:27 +0000 (23:23 +0000)
blog/data/2011-01-23-hardware-info.txt

index ab0edafe1c457774372aa4c7bb30b2dd49ef48a5..0872e6affed6417e063bdeac91ea4d8a3277145c 100644 (file)
@@ -41,7 +41,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