diff options
author | jkh <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
commit | 2bd023c3bcc58af13caf3dfc72e45544f76e02d0 (patch) | |
tree | f8a602b8dd3f42b31523719e6c5aaaee797d4519 /usr.sbin/sade/main.c | |
parent | 7462f8a7118968fca8bdcc1837bc3c5aaeea040c (diff) | |
download | FreeBSD-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/main.c')
-rw-r--r-- | usr.sbin/sade/main.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index 2769637..5840896 100644 --- a/usr.sbin/sade/main.c +++ b/usr.sbin/sade/main.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: main.c,v 1.48 1998/02/22 09:54:17 jkh Exp $ + * $Id: main.c,v 1.49 1998/03/10 13:42:02 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -123,8 +123,14 @@ main(int argc, char **argv) while (1) { choice = scroll = curr = max = 0; dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE); - if (getpid() != 1 || !msgYesNo("Are you sure you wish to exit? The system will reboot\n" - "(be sure to remove any floppies from the drives).")) + if (getpid() != 1 +#ifdef __alpha__ + || !msgYesNo("Are you sure you wish to exit? The system will halt.") +#else + || !msgYesNo("Are you sure you wish to exit? The system will reboot\n" + "(be sure to remove any floppies from the drives).") +#endif + ) break; } |