summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2011-01-17 00:08:28 +0000
committerbrucec <brucec@FreeBSD.org>2011-01-17 00:08:28 +0000
commitb7a9fb2c1af8b95e56b3bd3eb3ab706da030e1f3 (patch)
treebf306aae2237dbb0c63f384145d23463aa19dc23
parent38afc28719a01f41a317de8a7e1cdea25098b423 (diff)
downloadFreeBSD-src-b7a9fb2c1af8b95e56b3bd3eb3ab706da030e1f3.zip
FreeBSD-src-b7a9fb2c1af8b95e56b3bd3eb3ab706da030e1f3.tar.gz
Reduce the amount of text users need to read on each screen. Also try and
make it more relevant to modern systems: for example users will be familiar with the MBR but possibly less so with MS-DOS. After installation has finished don't return to the main menu but exit.
-rw-r--r--usr.sbin/sysinstall/install.c11
-rw-r--r--usr.sbin/sysinstall/menus.c21
2 files changed, 14 insertions, 18 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index daacaa6..df48caa 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -637,10 +637,10 @@ installStandard(dialogMenuItem *self)
variable_set2(SYSTEM_STATE, "standard", 0);
dialog_clear_norefresh();
#ifdef WITH_SLICES
- msgConfirm("In the next menu, you will need to set up a DOS-style (\"fdisk\") partitioning\n"
+ msgConfirm("In the next menu, you will need to set up an MBR partitioning\n"
"scheme for your hard disk. If you simply wish to devote all disk space\n"
- "to FreeBSD (overwriting anything else that might be on the disk(s) selected)\n"
- "then use the (A)ll command to select the default partitioning scheme followed\n"
+ "to FreeBSD (overwriting anything else that might be on the disk selected)\n"
+ "then use the (A)ll command to create a single partition followed\n"
"by a (Q)uit. If you wish to allocate only free space to FreeBSD, move to a\n"
"partition marked \"unused\" and use the (C)reate command.");
@@ -655,7 +655,7 @@ nodisks:
goto nodisks;
}
- msgConfirm("Now you need to create BSD partitions inside of the fdisk partition(s)\n"
+ msgConfirm("Now you need to create BSD partitions inside of the MBR partition(s)\n"
"just created. If you have a reasonable amount of disk space (1GB or more)\n"
"and don't have any special requirements, simply use the (A)uto command to\n"
"allocate space automatically. If you have more specific needs or just don't\n"
@@ -872,6 +872,9 @@ installConfigure(void)
if (!msgNoYes("Visit the general configuration menu for a chance to set\n"
"any last options?"))
dmenuOpenSimple(&MenuConfigure, FALSE);
+ else
+ dmenuExit(NULL);
+
configRC_conf();
sync();
}
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index b5be462..444bb93 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/sysinstall/menus.c
@@ -174,7 +174,7 @@ DMenu MenuIndex = {
#ifdef WITH_MICE
{ " Device, Mouse", "The mouse configuration menu.", NULL, dmenuSubmenu, NULL, &MenuMouse },
#endif
- { " Disklabel", "The disk Label editor", NULL, diskLabelEditor },
+ { " Disklabel", "The disk label editor", NULL, diskLabelEditor },
{ " Dists, All", "Root of the distribution tree.", NULL, dmenuSubmenu, NULL, &MenuDistributions },
{ " Dists, Basic", "Basic FreeBSD distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSubDistributions },
{ " Dists, Developer", "Select developer's distribution.", checkDistDeveloper, distSetDeveloper },
@@ -213,7 +213,7 @@ DMenu MenuIndex = {
{ " Media, UFS", "Select UFS installation media.", NULL, mediaSetUFS },
{ " Media, FTP", "Select FTP installation media.", NULL, mediaSetFTP },
{ " Media, FTP Passive", "Select passive FTP installation media.", NULL, mediaSetFTPPassive },
- { " Media, HTTP", "Select FTP via HTTP proxy installation media.", NULL, mediaSetHTTP },
+ { " Media, HTTP", "Select FTP via HTTP proxy install media.", NULL, mediaSetHTTP },
{ " Network Interfaces", "Configure network interfaces", NULL, tcpMenuSelect },
{ " Networking Services", "The network services menu.", NULL, dmenuSubmenu, NULL, &MenuNetworking },
{ " NFS, client", "Set NFS client flag.", dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
@@ -222,7 +222,7 @@ DMenu MenuIndex = {
{ " Options", "The options editor.", NULL, optionsEditor },
{ " Packages", "The packages collection", NULL, configPackages },
#ifdef WITH_SLICES
- { " Partition", "The disk Slice (PC-style partition) Editor", NULL, diskPartitionEditor },
+ { " Partition", "The disk slice (PC-style partition) editor", NULL, diskPartitionEditor },
#endif
{ " PCNFSD", "Run authentication server for PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
{ " Root Password", "Set the system manager's password.", NULL, dmenuSystemCommand, NULL, "passwd root" },
@@ -1209,10 +1209,10 @@ DMenu MenuConfigure = {
{ " Root Password", "Set the system manager's password",
NULL, dmenuSystemCommand, NULL, "passwd root" },
#ifdef WITH_SLICES
- { " Fdisk", "The disk Slice (PC-style partition) Editor",
+ { " Fdisk", "The disk slice (PC-style partition) editor",
NULL, diskPartitionEditor },
#endif
- { " Label", "The disk Label editor",
+ { " Label", "The disk label editor",
NULL, diskLabelEditor },
{ " User Management", "Add user and group information",
NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
@@ -1861,9 +1861,6 @@ DMenu MenuSysconsKeymap = {
"The system console driver for FreeBSD defaults to a standard\n"
"\"PC-98x1\" keyboard map. Users may wish to choose one of the\n"
"other keymaps below.\n"
- "Note that sysinstall itself only uses the part of the keyboard map\n"
- "which is required to generate the ANSI character subset, but your\n"
- "choice of keymap will also be saved for later (fuller) use.",
"Choose a keyboard map",
NULL,
{ { "Japanese PC-98x1", "Japanese PC-98x1 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98" },
@@ -1875,12 +1872,8 @@ DMenu MenuSysconsKeymap = {
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
"System Console Keymap",
"The system console driver for FreeBSD defaults to a standard\n"
- "\"American\" keyboard map. Users in other countries (or with\n"
- "different keyboard preferences) may wish to choose one of the\n"
- "other keymaps below.\n"
- "Note that sysinstall itself only uses the part of the keyboard map\n"
- "which is required to generate the ANSI character subset, but your\n"
- "choice of keymap will also be saved for later (fuller) use.",
+ "\"US\" keyboard map. Users may wish to choose one of the\n"
+ "other keymaps below.",
"Choose a keyboard map",
NULL,
{ { "Belgian", "Belgian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=be.iso" },
OpenPOWER on IntegriCloud