diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2009-05-05 18:54:41 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2009-05-05 18:54:41 +0000 |
commit | 9ba9fea3f98a262c162ae879fc06dcddc33ad2af (patch) | |
tree | f6bb1e07f779ff6065792ce6576e448d8e5750a6 /distrib | |
parent | 5685e1d8c6852385dfba966ad095b3d01408f0e8 (diff) |
fix for upgrade and vlans
noticed by naddy@, tested by me, ok deraadt@
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index fbbcf6a014c..5fc0118f258 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.521 2009/05/05 00:37:09 deraadt Exp $ +# $OpenBSD: install.sub,v 1.522 2009/05/05 18:54:40 todd 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 @@ -892,7 +892,7 @@ enable_network() { if=${hn#/mnt/etc/hostname.} # Check for ifconfig'able interface. - ifconfig $if >/dev/null 2>&1 || continue + (ifconfig $if||ifconfig $if create)> /dev/null 2>&1 || continue # Now parse the hostname.* file while :; do |