diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-06-04 02:27:49 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-06-04 02:27:49 +0000 |
commit | 9e819b740a107d9ccd697faf30970b9151b5ba06 (patch) | |
tree | e8a5222ea2d06af5b377edb61df2eb24a44e595e | |
parent | e793626495495d40a46fde7c191a8b50e50a7fbb (diff) |
count nifs in enable_network(); allows ftplist to be fetched in the
upgrade case too. ok deraadt@
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 24043ae8917..9c15d312276 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.572 2009/06/03 23:44:53 krw Exp $ +# $OpenBSD: install.sub,v 1.573 2009/06/04 02:27:48 sthen Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -806,6 +806,8 @@ enable_network() { # configure all of the non-loopback interfaces which we know about. # refer to hostname.if(5) for hn in /mnt/etc/hostname.*; do + (( nifs += 1 )) + # Strip off /mnt/etc/hostname. prefix if=${hn#/mnt/etc/hostname.} |