summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-05-05 06:31:41 +0000
committermtm <mtm@FreeBSD.org>2008-05-05 06:31:41 +0000
commit2fc089d229c867dd93da44d4410f1385d44490ea (patch)
tree1f572b1c09fe9daad545fa5222b68a0b5f843487
parent4970ae6e62c129b803f0509ead06554197c5d84d (diff)
downloadFreeBSD-src-2fc089d229c867dd93da44d4410f1385d44490ea.zip
FreeBSD-src-2fc089d229c867dd93da44d4410f1385d44490ea.tar.gz
o Change the warning dialog for the 'W' command in both the label
and partition editors to reflect the fact that this is a stand-alone application, not sysinstall(8). o Change an instance of sade(8) refering to itself as sysinstall(8) in a confirmation dialog. MFC after: 1 week
-rw-r--r--usr.sbin/sade/disks.c11
-rw-r--r--usr.sbin/sade/label.c11
2 files changed, 8 insertions, 14 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index ef39f74..9a9048b 100644
--- a/usr.sbin/sade/disks.c
+++ b/usr.sbin/sade/disks.c
@@ -566,13 +566,10 @@ diskPartition(Device *dev)
break;
case 'W':
- if (!msgNoYes("WARNING: This should only be used when modifying an EXISTING\n"
- "installation. If you are installing FreeBSD for the first time\n"
- "then you should simply type Q when you're finished here and your\n"
- "changes will be committed in one batch automatically at the end of\n"
- "these questions. If you're adding a disk, you should NOT write\n"
- "from this screen, you should do it from the label editor.\n\n"
- "Are you absolutely sure you want to do this now?")) {
+ if (!msgNoYes("WARNING: You are about to modify an EXISTING installation.\n"
+ "You should simply type Q when you are finished\n"
+ "here and write to the disk from the label editor.\n\n"
+ "Are you absolutely sure you want to continue?")) {
variable_set2(DISK_PARTITIONED, "yes", 0);
#ifdef PC98
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 423de62..ac3994a 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -1276,14 +1276,11 @@ diskLabel(Device *dev)
if (!variable_cmp(DISK_LABELLED, "written")) {
msgConfirm("You've already written out your changes - if you\n"
"wish to overwrite them, you'll have to restart\n"
- "sysinstall first.");
+ "sade first.");
}
- else if (!msgNoYes("WARNING: This should only be used when modifying an EXISTING\n"
- "installation. If you are installing FreeBSD for the first time\n"
- "then you should simply type Q when you're finished here and your\n"
- "changes will be committed in one batch automatically at the end of\n"
- "these questions.\n\n"
- "Are you absolutely sure you want to do this now?")) {
+ else if (!msgNoYes("WARNING: You are about to modify an EXISTING\n"
+ "installation.\n\n"
+ "Are you absolutely sure you want to continue?")) {
variable_set2(DISK_LABELLED, "yes", 0);
diskLabelCommit(NULL);
}
OpenPOWER on IntegriCloud