svn commit: r236020 - head/sbin/init

Jilles Tjoelker jilles at FreeBSD.org
Fri May 25 19:45:01 UTC 2012


Author: jilles
Date: Fri May 25 19:45:01 2012
New Revision: 236020
URL: http://svn.freebsd.org/changeset/base/236020

Log:
  init: Remove unnecessary 2-second delay before calling reboot(2).

Modified:
  head/sbin/init/init.c

Modified: head/sbin/init/init.c
==============================================================================
--- head/sbin/init/init.c	Fri May 25 18:17:26 2012	(r236019)
+++ head/sbin/init/init.c	Fri May 25 19:45:01 2012	(r236020)
@@ -646,8 +646,6 @@ single_user(void)
 	if (Reboot) {
 		/* Instead of going single user, let's reboot the machine */
 		sync();
-		alarm(2);
-		pause();
 		reboot(howto);
 		_exit(0);
 	}


More information about the svn-src-all mailing list