svn commit: r211289 - head/etc

Jung-uk Kim jkim at FreeBSD.org
Fri Aug 13 21:04:44 UTC 2010


Author: jkim
Date: Fri Aug 13 21:04:43 2010
New Revision: 211289
URL: http://svn.freebsd.org/changeset/base/211289

Log:
  Do not fork a subshell unnecessarily.

Modified:
  head/etc/rc.suspend

Modified: head/etc/rc.suspend
==============================================================================
--- head/etc/rc.suspend	Fri Aug 13 20:43:19 2010	(r211288)
+++ head/etc/rc.suspend	Fri Aug 13 21:04:43 2010	(r211289)
@@ -49,8 +49,8 @@ fast|safe)
 	/bin/rm -f /var/run/rc.suspend.tch
 	;;
 *)
-	( /sbin/sysctl -n kern.timecounter.hardware=ACPI-fast || \
-	    /sbin/sysctl -n kern.timecounter.hardware=ACPI-safe ) \
+	{ /sbin/sysctl -n kern.timecounter.hardware=ACPI-fast || \
+	    /sbin/sysctl -n kern.timecounter.hardware=ACPI-safe; } \
 	    > /dev/null 2>&1 && echo $_t > /var/run/rc.suspend.tch
 	;;
 esac


More information about the svn-src-head mailing list