summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
committerjkh <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
commit2bd023c3bcc58af13caf3dfc72e45544f76e02d0 (patch)
treef8a602b8dd3f42b31523719e6c5aaaee797d4519 /usr.sbin/sade/system.c
parent7462f8a7118968fca8bdcc1837bc3c5aaeea040c (diff)
downloadFreeBSD-src-2bd023c3bcc58af13caf3dfc72e45544f76e02d0.zip
FreeBSD-src-2bd023c3bcc58af13caf3dfc72e45544f76e02d0.tar.gz
Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc). Submitted by: dfr
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index a59137b..289ef90 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.84 1998/09/30 13:36:53 jkh Exp $
+ * $Id: system.c,v 1.85 1998/11/03 03:38:56 jkh Exp $
*
* Jordan Hubbard
*
@@ -160,7 +160,11 @@ systemShutdown(int status)
if (RunningAsInit) {
/* Put the console back */
ioctl(0, VT_ACTIVATE, 2);
+#ifdef __alpha__
+ reboot(RB_HALT);
+#else
reboot(0);
+#endif
}
else
exit(status);
OpenPOWER on IntegriCloud