[PC-BSD Commits] r20256 - pcbsd/current/overlays/desktop-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Mon Nov 19 14:34:15 PST 2012


Author: kris
Date: 2012-11-19 22:34:15 +0000 (Mon, 19 Nov 2012)
New Revision: 20256

Modified:
   pcbsd/current/overlays/desktop-overlay/etc/rc
Log:

Kick moused in the pants at startup, make sure we add any USB mice before GDM
starts



Modified: pcbsd/current/overlays/desktop-overlay/etc/rc
===================================================================
--- pcbsd/current/overlays/desktop-overlay/etc/rc	2012-11-19 21:35:57 UTC (rev 20255)
+++ pcbsd/current/overlays/desktop-overlay/etc/rc	2012-11-19 22:34:15 UTC (rev 20256)
@@ -111,6 +111,15 @@
     run_rc_script ${i} ${_boot}
   done
 
+  # Check for USB mouse to start
+  mChk="ums0 ums1"
+  for i in $mChk
+  do
+    if [ -e "/dev/$i" ] ; then
+       /etc/rc.d/moused start $i
+    fi
+  done
+
   # Start the delayed services after the login is up
   (sleep 5; nice /bin/sh /etc/rc.delay "$_rc_elem_done$preLoad")&
 else



More information about the Commits mailing list