Tweak network interface configuration so that after 1st attempted
authorkrw <krw@openbsd.org>
Wed, 16 Apr 2014 13:12:22 +0000 (13:12 +0000)
committerkrw <krw@openbsd.org>
Wed, 16 Apr 2014 13:12:22 +0000 (13:12 +0000)
(rather than first successfull) configuration, the default selection
becomes [done]. This allows one to <cr> past network configuration.
e.g. when dhcp is not working.

Requested by deraadt@. ok halex@.

distrib/miniroot/install.sub

index 98f69aa..fa3e8fe 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: install.sub,v 1.758 2014/04/04 19:44:02 krw Exp $
+#      $OpenBSD: install.sub,v 1.759 2014/04/16 13:12:22 krw Exp $
 #
 # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
 # All rights reserved.
@@ -741,8 +741,8 @@ configure_ifs() {
                        chmod 640 $_hn
                        ((NIFS++))
                        : ${_first:=$_ifs}
-                       _p=done
                fi
+               _p=done
        done
 }