diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-19 07:05:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-19 07:05:12 +0000 |
commit | 361ce3ff5b748d18854c133c169ce0cce9578eba (patch) | |
tree | 3285389aee50c49fdf1065eddbc3c4151bbc28c3 /distrib/miniroot | |
parent | f9908d66dc99e7283315f7480f376cb6623892d1 (diff) |
apply media directives before running dhclient
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 92e8aec4c2b..a9c9a31183f 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sub,v 1.89 1998/09/19 07:03:24 deraadt Exp $ +# $OpenBSD: install.sub,v 1.90 1998/09/19 07:05:11 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 @@ -612,6 +612,7 @@ configure_ifs() { # succeeds, add it to the permanent # network configuration info. if [ "$_interface_ip" = "dhcp" ]; then + ifconfig ${_interface_name} down ${_interface_extra} dhclient ${_interface_name} set -- `ifconfig $_interface_name | sed -n ' |