diff options
author | jkh <jkh@FreeBSD.org> | 1999-07-18 02:20:56 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-07-18 02:20:56 +0000 |
commit | 4dc9548875f46e919c13f65aa842c28c35e95a03 (patch) | |
tree | 7ddf97e70de074ed0134b22be3dc914140060190 /release/sysinstall | |
parent | e0f8fd1d350a7bcd6469e604b59629cc6e182eb3 (diff) | |
download | FreeBSD-src-4dc9548875f46e919c13f65aa842c28c35e95a03.zip FreeBSD-src-4dc9548875f46e919c13f65aa842c28c35e95a03.tar.gz |
Miscellaneous fixes for dhcp client support.
Diffstat (limited to 'release/sysinstall')
-rw-r--r-- | release/sysinstall/tcpip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c index 269ab3e..c4ba358 100644 --- a/release/sysinstall/tcpip.c +++ b/release/sysinstall/tcpip.c @@ -1,5 +1,5 @@ /* - * $Id: tcpip.c,v 1.79 1999/05/07 11:45:26 jkh Exp $ + * $Id: tcpip.c,v 1.80 1999/07/16 11:13:09 jkh Exp $ * * Copyright (c) 1995 * Gary J Palmer. All rights reserved. @@ -172,9 +172,10 @@ tcpOpenDialog(Device *devp) if (!variable_cmp(VAR_TRY_DHCP, "YES")) { Mkdir("/var/db"); Mkdir("/var/run"); + Mkdir("/tmp"); msgNotify("Scanning for DHCP servers..."); vsystem("ifconfig %s inet 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up", devp->name); - if (!vsystem("dhclient")) { + if (!vsystem("dhclient %s", devp->name)) { FILE *ifp; char cmd[256]; |