summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-20 08:50:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-20 08:50:17 +0000
commit34cd53a7bcd332a7d85220d3e98f7026d45df3e4 (patch)
treeb0b867dd483f235c9cbfb8efaae70e170b6aadf1 /distrib/miniroot
parentbf2ecffe96e2185085322fc49e14ac3f7b6ef9b4 (diff)
use dhclient -1: permits retrying of dhcp configurations
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 2f58e46ff8e..f6c57798d64 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.92 1998/09/19 23:02:49 deraadt Exp $
+# $OpenBSD: install.sub,v 1.93 1998/09/20 08:50:16 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -613,7 +613,7 @@ configure_ifs() {
# network configuration info.
if [ "$_interface_ip" = "dhcp" ]; then
ifconfig ${_interface_name} down ${_interface_extra}
- dhclient ${_interface_name}
+ dhclient -1 ${_interface_name}
set -- `ifconfig $_interface_name | sed -n '
1s/.*<UP,.*$/UP/p