Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159840956
D12346.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12346.id.diff
View Options
Index: head/usr.sbin/bsdinstall/partedit/gpart_ops.c
===================================================================
--- head/usr.sbin/bsdinstall/partedit/gpart_ops.c
+++ head/usr.sbin/bsdinstall/partedit/gpart_ops.c
@@ -1043,14 +1043,17 @@
/* Warn if no mountpoint set */
if (strcmp(items[0].text, "freebsd-ufs") == 0 &&
items[2].text[0] != '/') {
- dialog_vars.defaultno = TRUE;
- choice = dialog_yesno("Warning",
- "This partition does not have a valid mountpoint "
- "(for the partition from which you intend to boot the "
- "operating system, the mountpoint should be /). Are you "
- "sure you want to continue?"
- , 0, 0);
- dialog_vars.defaultno = FALSE;
+ choice = 0;
+ if (interactive) {
+ dialog_vars.defaultno = TRUE;
+ choice = dialog_yesno("Warning",
+ "This partition does not have a valid mountpoint "
+ "(for the partition from which you intend to boot the "
+ "operating system, the mountpoint should be /). Are you "
+ "sure you want to continue?"
+ , 0, 0);
+ dialog_vars.defaultno = FALSE;
+ }
if (choice == 1) /* cancel */
goto addpartform;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 19, 4:56 PM (9 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34090141
Default Alt Text
D12346.id.diff (1 KB)
Attached To
Mode
D12346: Don't complain about missing mountpoints for scripted installations.
Attached
Detach File
Event Timeline
Log In to Comment