svn commit: r235855 - head/sbin/shutdown

Jilles Tjoelker jilles at FreeBSD.org
Wed May 23 19:25:47 UTC 2012


Author: jilles
Date: Wed May 23 19:25:46 2012
New Revision: 235855
URL: http://svn.freebsd.org/changeset/base/235855

Log:
  shutdown: Remove unnecessary 2-second delay.

Modified:
  head/sbin/shutdown/shutdown.c

Modified: head/sbin/shutdown/shutdown.c
==============================================================================
--- head/sbin/shutdown/shutdown.c	Wed May 23 18:56:29 2012	(r235854)
+++ head/sbin/shutdown/shutdown.c	Wed May 23 19:25:46 2012	(r235855)
@@ -356,7 +356,6 @@ perform_shutdown(void)
 	syslog(LOG_NOTICE, "%s by %s: %s",
 	    doreboot ? "reboot" : dohalt ? "halt" : dopower ? "power-down" : 
 	    "shutdown", whom, mbuf);
-	(void)sleep(2);
 
 	(void)printf("\r\nSystem shutdown time has arrived\007\007\r\n");
 	if (killflg) {


More information about the svn-src-head mailing list