X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-x;h=62d2c5ae979ad5a5c9a7bd5ef56da238cce6c0be;hb=refs%2Ftags%2F0.4.0;hp=b0189ada8b42997d528265fff07866ef9a9442ae;hpb=ef9f402adb0a40260f3bb29883c41411a5d343bf;p=grml-x.git diff --git a/grml-x b/grml-x index b0189ad..62d2c5a 100755 --- a/grml-x +++ b/grml-x @@ -294,7 +294,7 @@ mouse() if grep -q 'Device:.*Synaptics' "$MOUSEINFO" ; then if [[ "$SYNAPTICS" == "yes" ]] ; then # check for '-nosynaptics'-option MOUSEDRIVER='synaptics' - SYNMOUSE='InputDevice "Synaptics" "AlwaysCore"' + SYNMOUSE='InputDevice "Synaptics" # "AlwaysCore"' SYNMOUSEDETAIL=" Section \"InputDevice\" Driver \"synaptics\" @@ -329,7 +329,7 @@ EndSection if grep -q 'Device:.*ALPS' "$MOUSEINFO" ; then if [[ "$SYNAPTICS" == "yes" ]] ; then # check for '-nosynaptics'-option MOUSEDRIVER='synaptics' - SYNMOUSE='InputDevice "Synaptics" "AlwaysCore"' + SYNMOUSE='InputDevice "Synaptics" # "AlwaysCore"' SYNMOUSEDETAIL=" Section \"InputDevice\" Driver \"synaptics\" @@ -893,6 +893,11 @@ $fg[red]" function runit { writeconfig + if [ "$(readlink /etc/X11/X)" = /bin/true ] ; then + print "$bold_color$fg[red]Fatal: /etc/X11/X is a symlink to /bin/true." + print "Fix it via running 'ln -sf /usr/bin/Xorg /etc/X11/X'" + exit 10 + fi if [ -z "$NOSTART" ] ; then print "$reset_color" if [ -x /etc/init.d/xorg-common ] ; then