Changed the default 'reboot' routine from cpu_reset() to shutdown_nice().

If you want to disable the reboot feature, then re-define the keymap to
not have a RBT call.
This commit is contained in:
Nate Williams 1994-01-18 05:33:34 +00:00
parent 87965552ef
commit 7af948c9cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=984
3 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@
*
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
* from: @(#)syscons.c 1.1 931021
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
*
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
*
@ -2278,7 +2278,7 @@ u_int sgetc(int noblock)
case NOP:
break;
case RBT:
cpu_reset();
shutdown_nice();
break;
case DBG:
#if DDB > 0 /* try to switch to console 0 */

View file

@ -35,7 +35,7 @@
*
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
* from: @(#)syscons.c 1.1 931021
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
*
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
*
@ -2278,7 +2278,7 @@ u_int sgetc(int noblock)
case NOP:
break;
case RBT:
cpu_reset();
shutdown_nice();
break;
case DBG:
#if DDB > 0 /* try to switch to console 0 */

View file

@ -35,7 +35,7 @@
*
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
* from: @(#)syscons.c 1.1 931021
* $Id: syscons.c,v 1.24 1994/01/03 07:55:47 davidg Exp $
* $Id: syscons.c,v 1.25 1994/01/14 16:24:18 davidg Exp $
*
* Heavily modified by Sxren Schmidt (sos@login.dkuug.dk) to provide:
*
@ -2278,7 +2278,7 @@ u_int sgetc(int noblock)
case NOP:
break;
case RBT:
cpu_reset();
shutdown_nice();
break;
case DBG:
#if DDB > 0 /* try to switch to console 0 */