summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/partedit
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-01-20 03:55:08 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-01-20 03:55:08 +0000
commit04bf4448bafba2ace8fa39a81212273cb5628bb8 (patch)
treeff2600417ded450b64e21ca252a4eded510dd0c4 /usr.sbin/bsdinstall/partedit
parent0e4197fb055ba0022b398a93ccaf49ed4ed2f636 (diff)
downloadFreeBSD-src-04bf4448bafba2ace8fa39a81212273cb5628bb8.zip
FreeBSD-src-04bf4448bafba2ace8fa39a81212273cb5628bb8.tar.gz
Make "Finish" the default choice in the partition editor. This lets you
successfully complete an installation with all defaults by pressing Enter repeatedly until your machine reboots. MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/bsdinstall/partedit')
-rw-r--r--usr.sbin/bsdinstall/partedit/diskeditor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/partedit/diskeditor.c b/usr.sbin/bsdinstall/partedit/diskeditor.c
index 7933caa..9149c2b 100644
--- a/usr.sbin/bsdinstall/partedit/diskeditor.c
+++ b/usr.sbin/bsdinstall/partedit/diskeditor.c
@@ -77,7 +77,7 @@ diskeditor_show(const char *title, const char *cprompt,
int partlist_height, partlist_width;
int cur_scroll = 0;
int key, fkey;
- int cur_button = 0, cur_part = 0;
+ int cur_button = 5, cur_part = 0;
int result = DLG_EXIT_UNKNOWN;
static DLG_KEYS_BINDING binding[] = {
OpenPOWER on IntegriCloud