summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/init-hooks/00-started
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/xserver/init-hooks/00-started')
-rw-r--r--os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh8
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 ) &
+