svn commit: r227528 - head/etc

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Nov 17 12:23:36 UTC 2011


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
> 
> Log:
>   On some laptops it is important to re-open /dev/psm after resume. moused(8)
>   was capable to do this upon SIGHUP for more than a decade. Automate this
>   via rc.resume in default installation.
> 
> Modified:
>   head/etc/rc.resume
> 
> Modified: head/etc/rc.resume
> ==============================================================================
> --- 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
>  
> +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'.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20111117/ca504e88/attachment.pgp


More information about the svn-src-all mailing list