Date: Thu, 17 Nov 2011 13:22:41 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r227528 - head/etc Message-ID: <20111117122241.GA2051@garage.freebsd.pl> In-Reply-To: <201111151259.pAFCx7TW099261@svn.freebsd.org> References: <201111151259.pAFCx7TW099261@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 15, 2011 at 12:59:07PM +0000, Gleb Smirnoff wrote: > Author: glebius > Date: Tue Nov 15 12:59:07 2011 > New Revision: 227528 > URL: http://svn.freebsd.org/changeset/base/227528 >=20 > Log: > On some laptops it is important to re-open /dev/psm after resume. mouse= d(8) > was capable to do this upon SIGHUP for more than a decade. Automate this > via rc.resume in default installation. >=20 > Modified: > head/etc/rc.resume >=20 > Modified: head/etc/rc.resume > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/etc/rc.resume Tue Nov 15 09:23:21 2011 (r227527) > +++ head/etc/rc.resume Tue Nov 15 12:59:07 2011 (r227528) > @@ -49,6 +49,10 @@ if [ -r /var/run/rc.suspend.tch ]; then > /bin/rm -f /var/run/rc.suspend.tch > fi > =20 > +if [ -r /var/run/moused.pid ]; then > + kill -HUP `head -1 /var/run/moused.pid` > +fi You can use 'pkill -F /var/run/moused.pid'. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk7E/JEACgkQForvXbEpPzTHZACgmLdYHhXJv8C0o583mfAPppic nXoAnjJrZ4rzOpgJIEOoH6uissOKQSlW =1Pqq -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111117122241.GA2051>