From 350e2326789023265e41c221ee2d3eef2d2df459 Mon Sep 17 00:00:00 2001 From: fvdl Date: Tue, 7 Nov 2000 01:14:22 +0000 Subject: [PATCH] Wrap checking the BOOTMODEL env var in DEBUG, it was intended for that purpose originally, and this check only messes up selection of the right kernel for the laptop install set. --- distrib/utils/sysinst/arch/i386/md.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/distrib/utils/sysinst/arch/i386/md.c b/distrib/utils/sysinst/arch/i386/md.c index a7f20d5bddac..e46139a20250 100644 --- a/distrib/utils/sysinst/arch/i386/md.c +++ b/distrib/utils/sysinst/arch/i386/md.c @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.46 2000/10/26 23:29:25 fvdl Exp $ */ +/* $NetBSD: md.c,v 1.47 2000/11/07 01:14:22 fvdl Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -625,11 +625,13 @@ char * get_bootmodel() { struct utsname ut; +#ifdef DEBUG char *envstr; envstr = getenv("BOOTMODEL"); if (envstr != NULL) return envstr; +#endif if (uname(&ut) < 0) return "";