mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
fine tune failed module load for gfx driver
This commit is contained in:
parent
cda79a63fd
commit
d56790b717
6
inxi
6
inxi
|
@ -3,7 +3,7 @@
|
|||
#### Script Name: inxi
|
||||
#### version: 1.7.15
|
||||
#### Date: July 6 2011
|
||||
#### Patch Number: 02
|
||||
#### Patch Number: 03
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -3705,8 +3705,8 @@ get_graphics_driver()
|
|||
aDrivers[driver]="unloaded"
|
||||
}
|
||||
}
|
||||
/Failed.*('"$driver_list"')_drv.so$/ {
|
||||
driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so$/, "\\2", 1, $0 )
|
||||
/Failed.*('"$driver_list"')_drv.so$/ || /Failed to load module \"('"$driver_list"')\"/ {
|
||||
driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so$|(.*)Failed to load module \"('"$driver_list"')\".*/, "\\2", 1, $0 )
|
||||
# we need to make sure that the driver has already been truly loaded, not just discussed
|
||||
if ( driver in aDrivers ) {
|
||||
aDrivers[driver]="failed"
|
||||
|
|
Loading…
Reference in a new issue