From 6e885e06ddcc436ac6b8744a1bcb7bb04ab0c8e7 Mon Sep 17 00:00:00 2001 From: pk Date: Mon, 8 Sep 1997 23:22:44 +0000 Subject: [PATCH] Do not present media type `manual' as a default choice. --- distrib/miniroot/install.sub | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index d5a2b66aabc7..7cb640d155da 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: install.sub,v 1.18 1997/09/07 22:43:13 is Exp $ +# $NetBSD: install.sub,v 1.19 1997/09/08 23:22:44 pk Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -371,6 +371,8 @@ configure_ifs() { local _interface_mask local _interface_symname local _interface_extra + local _interface_mediumtype + local _interface_supported_media _interface_name=$1 _up=DOWN @@ -389,7 +391,9 @@ configure_ifs() { 3s/broadcast// 3p'` - _interface_mediumtype=$1 + if [ "$1" != "manual" ]; then + _interface_mediumtype=$1 + fi _interface_ip=$2 _interface_mask=$3