if checkbootparam "nogpm"; then
ewarn "Not starting GPM as requested on boot commandline." ; eend 0
else
- einfo "Starting gpm in background."
-# /etc/init.d/gpm start 1>>$DEBUG &
- ( while [ ! -e /dev/psaux ]; do sleep 5; done; /etc/init.d/gpm start 1>>$DEBUG ) &
- eend 0
+ if ! [ -r /dev/input/mice ] ; then
+ eerror "No mouse found - not starting GPM." ; eend 1
+ else
+ einfo "Starting gpm in background."
+ /etc/init.d/gpm start 1>>$DEBUG &
+ # ( while [ ! -e /dev/psaux ]; do sleep 5; done; /etc/init.d/gpm start 1>>$DEBUG ) &
+ eend 0
+ fi
fi
}
# }}}
+grml-autoconfig (0.8.9) unstable; urgency=low
+
+ * Check for /dev/input/mice before starting GPM.
+
+ -- Michael Prokop <mika@grml.org> Thu, 17 Jul 2008 20:53:10 +0200
+
grml-autoconfig (0.8.8) unstable; urgency=low
* Mention job handling stuff when using debug=noscreen.