diff options
author | Dirk von Suchodoletz | 2008-08-11 00:20:13 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2008-08-11 00:20:13 +0200 |
commit | 887f82a3fbd153955adc6da28fbca37375d217df (patch) | |
tree | f5c50386ac9b656f0aa7d5fd1159db9e376e3514 /os-plugins/plugins/xserver/init-hooks | |
parent | Beagle hides very well (if anybody knows where in SuSE 11 please tell, (diff) | |
download | core-887f82a3fbd153955adc6da28fbca37375d217df.tar.gz core-887f82a3fbd153955adc6da28fbca37375d217df.tar.xz core-887f82a3fbd153955adc6da28fbca37375d217df.zip |
Add an option to use ddcinfo for display/monitor setup. In some
cases like with the savage chip (T22) the proper setup fails, if
no proper H/V syncs are defined ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2021 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/init-hooks')
-rw-r--r-- | os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh new file mode 100644 index 00000000..1b8171cc --- /dev/null +++ b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh @@ -0,0 +1,8 @@ +#!/bin/ash +# get an idea of the installed graphics hardware - might be needed if the +# automatic Xorg configation fails in this field. If no useable info was +# detected just delete the file. + +( hwinfo --monitor >/etc/hwinfo.display; grep "Generic Monitor" \ + /etc/hwinfo.display >/dev/null 2>&1 && rm /etc/hwinfo.display ) & + |