r1721

stsp at dslinux.in-berlin.de stsp at dslinux.in-berlin.de
Sun Apr 15 14:57:27 CEST 2007


Author: stsp
Date: 2007-04-15 14:57:22 +0200 (Sun, 15 Apr 2007)
New Revision: 1721

Log:
Run gpm by default if present.


Modified: trunk/vendors/Nintendo/common/rc.common
===================================================================
--- trunk/vendors/Nintendo/common/rc.common	2007-04-15 11:23:11 UTC (rev 1720)
+++ trunk/vendors/Nintendo/common/rc.common	2007-04-15 12:57:22 UTC (rev 1721)
@@ -55,6 +55,12 @@
 # set up /etc/hosts so networking tools will work
 echo "127.0.0.1 $hostname" > /etc/hosts
 
+# if we have a gpm binary, enable the mouse cursor
+if [ -x /usr/bin/gpm ]
+then
+	/usr/bin/gpm -m /dev/mouse0 -t ps2 &
+fi
+
 # show firmware version if configured
 [ "$show_firmware_version" = "YES" ] && fwver
 




More information about the dslinux-commit mailing list