svn commit: r227787 - head/etc

Gleb Smirnoff glebius at FreeBSD.org
Mon Nov 21 12:23:23 UTC 2011


Author: glebius
Date: Mon Nov 21 12:23:22 2011
New Revision: 227787
URL: http://svn.freebsd.org/changeset/base/227787

Log:
  Better use pkill(1) in last commit.
  
  Submitted by:	pjd

Modified:
  head/etc/rc.resume

Modified: head/etc/rc.resume
==============================================================================
--- head/etc/rc.resume	Mon Nov 21 12:21:00 2011	(r227786)
+++ head/etc/rc.resume	Mon Nov 21 12:23:22 2011	(r227787)
@@ -50,7 +50,7 @@ if [ -r /var/run/rc.suspend.tch ]; then
 fi
 
 if [ -r /var/run/moused.pid ]; then
-	kill -HUP `head -1 /var/run/moused.pid`
+	pkill -HUP -F /var/run/moused.pid
 fi
 
 # Turns on a power supply of a card in the slot inactivated.


More information about the svn-src-all mailing list