live-systems.org/gitweb
/
live-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fdf12
)
Using automatic driver selection based on pci-ids in xserver-xorg script only when...
author
Daniel Baumann
<daniel@debian.org>
Thu, 13 Dec 2012 07:39:24 +0000
(08:39 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 13 Dec 2012 07:39:32 +0000
(08:39 +0100)
scripts/config/1150-xserver-xorg
patch
|
blob
|
blame
|
history
diff --git
a/scripts/config/1150-xserver-xorg
b/scripts/config/1150-xserver-xorg
index
ffa366a
..
609bf55
100755
(executable)
--- a/
scripts/config/1150-xserver-xorg
+++ b/
scripts/config/1150-xserver-xorg
@@
-90,7
+90,7
@@
Configure_xserver_xorg ()
esac
fi
- if [ -z "${LIVE_XORG_DRIVER}" ]
+ if [ -z "${LIVE_XORG_DRIVER}" ]
&& [ -e /usr/bin/lspci ]
then
# pci-id of the first graphic card
_DEVICE="$(lspci -mn | awk '/0300/ { print $3$4 }' | sed -e 's|"||g' | tr [a-z] [A-Z] | head -n1)"