Date: Fri, 25 May 2012 19:45:01 +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: r236020 - head/sbin/init Message-ID: <201205251945.q4PJj1o6029637@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205251945.q4PJj1o6029637>