diff options
author | dg <dg@FreeBSD.org> | 1995-01-28 03:51:39 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-01-28 03:51:39 +0000 |
commit | 745d0dc6a017088f4d117ac505529559a3fd4eb5 (patch) | |
tree | dad956c3998777f25d92f5931e2e6d3fe2b02a05 /sys | |
parent | fc5dd24ded472c9bf62b6e1dac98f23351b6d926 (diff) | |
download | FreeBSD-src-745d0dc6a017088f4d117ac505529559a3fd4eb5.zip FreeBSD-src-745d0dc6a017088f4d117ac505529559a3fd4eb5.tar.gz |
Get rid of extra []'s and otherwise fix-up boot prompt. Reordered
boot flags processing to be alpha-beta.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/biosboot/boot.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/i386/boot/biosboot/boot.c b/sys/i386/boot/biosboot/boot.c index 5cb0eb1..98d19f6 100644 --- a/sys/i386/boot/biosboot/boot.c +++ b/sys/i386/boot/biosboot/boot.c @@ -24,7 +24,7 @@ * the rights to redistribute these changes. * * from: Mach, [92/04/03 16:51:14 rvb] - * $Id: boot.c,v 1.30 1995/01/20 07:48:19 wpaul Exp $ + * $Id: boot.c,v 1.31 1995/01/25 21:37:38 bde Exp $ */ @@ -93,8 +93,8 @@ int drive; printf("\n\ >> FreeBSD BOOT @ 0x%x: %d/%d k of memory\n\ Use hd(1,a)/kernel to boot sd0 when wd0 is also installed.\n\ -Usage: [[[%s(%d,a)]%s][-s][-r][-a][-c][-d][-D][-b][-v][-h]]\n\ -Use ? for file list or simply press Return for defaults\n", +Usage: [[[%s(%d,a)]%s][-Dabcdhrsv]]\n\ +Use ? for file list or press Enter for defaults\n\n", ouraddr, bootinfo.bi_basemem, bootinfo.bi_extmem, devs[drive & 0x80 ? 0 : 2], drive & 0x7f, name); @@ -313,27 +313,27 @@ getbootdev(howto) if (c=='-') while ((c = *++ptr) && c!=' ') switch (c) { - case 'r': - *howto |= RB_DFLTROOT; continue; + case 'D': + loadsyms = 1; continue; case 'a': *howto |= RB_ASKNAME; continue; + case 'b': + *howto |= RB_HALT; continue; case 'c': *howto |= RB_CONFIG; continue; - case 's': - *howto |= RB_SINGLE; continue; case 'd': *howto |= RB_KDB; continue; - case 'D': - loadsyms = 1; continue; - case 'b': - *howto |= RB_HALT; continue; - case 'v': - *howto |= RB_VERBOSE; continue; case 'h': *howto ^= RB_SERIAL; if (*howto & RB_SERIAL) init_serial(); continue; + case 'r': + *howto |= RB_DFLTROOT; continue; + case 's': + *howto |= RB_SINGLE; continue; + case 'v': + *howto |= RB_VERBOSE; continue; } else { name = ptr; |