summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-24 23:53:04 +0200
committerDirk von Suchodoletz2008-08-24 23:53:04 +0200
commit97f8ee74b067c438ff0d550724cdaba6326fc107 (patch)
tree80581a078654ca0e3c50a4213077913cc1fe7fe4 /os-plugins/plugins
parentFix for xserver plugin script not returning in some cases. (diff)
downloadcore-97f8ee74b067c438ff0d550724cdaba6326fc107.tar.gz
core-97f8ee74b067c438ff0d550724cdaba6326fc107.tar.xz
core-97f8ee74b067c438ff0d550724cdaba6326fc107.zip
Improved Synaptics Touchpad detection (via dmesg).
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2092 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins')
-rw-r--r--os-plugins/plugins/xserver/XX_xserver.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh
index 0280b2c6..d37592ff 100644
--- a/os-plugins/plugins/xserver/XX_xserver.sh
+++ b/os-plugins/plugins/xserver/XX_xserver.sh
@@ -147,7 +147,8 @@ EndSection
testmkd /mnt/${file}
done
# if a synaptic touchpad is present, add it to the device list
- if grep -q -E "ynaptics" /etc/hwinfo.mouse ; then
+ if grep -q -E "ynaptics" /etc/hwinfo.mouse || \
+ dmesg | grep -q -E "ynaptics" ; then
sed -e '/\"CorePointer\"/ {
a\
EndSection\