[Midnightbsd-cvs] [MidnightBSD/src] c39ff5: Historic FreeBSD behaviour (dating back to 1994-04...

Lucas Holt noreply at github.com
Mon Aug 1 10:21:35 EDT 2022


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: c39ff55cd6cedbf0732b8123947924612e1c8d12
      https://github.com/MidnightBSD/src/commit/c39ff55cd6cedbf0732b8123947924612e1c8d12
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M sys/kern/kern_shutdown.c

  Log Message:
  -----------
  Historic FreeBSD behaviour (dating back to 1994-04-02) when rebooting
is to print "Rebooting..." and then
	/* wait 1 sec for printf's to complete and be read */

Prior to April 1994, there was a 100 ms delay (added 1993-11-12).

Since (a) most users will already be aware that the system is rebooting
and do not need to take time to read an additional message to that
effect, and (b) most FreeBSD systems don't have anyone actively looking
at the console anyway, this delay no longer serves much purpose.

This commit adds a kern.reboot_wait_time sysctl which defaults to 0;
historic behaviour can be regained by setting it to 1.

Obtained from: FreeBSD, 84ec7df0d796ddab6301817e12904762e2724c8e




More information about the Midnightbsd-cvs mailing list