diff --git a/sys/kern/kern_xxx.c b/sys/kern/kern_xxx.c index 816a50f2d14d..0ef0a36206af 100644 --- a/sys/kern/kern_xxx.c +++ b/sys/kern/kern_xxx.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_xxx.c 8.2 (Berkeley) 11/14/93 - * $Id: kern_xxx.c,v 1.11 1995/07/30 17:10:36 davidg Exp $ + * $Id: kern_xxx.c,v 1.12 1995/08/06 19:45:34 joerg Exp $ */ #include @@ -43,7 +43,6 @@ #include #include #include -#include /* This implements a "TEXT_SET" for cleanup functions */ @@ -170,12 +169,12 @@ shutdown_nice(void) register struct proc *p; /* Send a signal to init(8) and have it shutdown the world */ - if (initproc != NULL) + if (initproc != NULL) { psignal(initproc, SIGINT); - else - /* No init(8) running, simply reset the CPU */ - cpu_reset(); - + } else { + /* No init(8) running, so simply reboot */ + boot(RB_NOSYNC); + } return; }