From owner-svn-src-all@FreeBSD.ORG Thu Nov 17 12:23:36 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89167106567C; Thu, 17 Nov 2011 12:23:36 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 335288FC18; Thu, 17 Nov 2011 12:23:35 +0000 (UTC) Received: from localhost (58.wheelsystems.com [83.12.187.58]) by mail.dawidek.net (Postfix) with ESMTPSA id 716D6CB1; Thu, 17 Nov 2011 13:23:34 +0100 (CET) Date: Thu, 17 Nov 2011 13:22:41 +0100 From: Pawel Jakub Dawidek To: Gleb Smirnoff Message-ID: <20111117122241.GA2051@garage.freebsd.pl> References: <201111151259.pAFCx7TW099261@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <201111151259.pAFCx7TW099261@svn.freebsd.org> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r227528 - head/etc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2011 12:23:36 -0000 --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--