Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 19:25:47 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235855 - head/sbin/shutdown
Message-ID:  <201205231925.q4NJPlWX091178@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205231925.q4NJPlWX091178>