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 | |
parent | e0f8fd1d350a7bcd6469e604b59629cc6e182eb3 (diff) | |
download | FreeBSD-src-4dc9548875f46e919c13f65aa842c28c35e95a03.zip FreeBSD-src-4dc9548875f46e919c13f65aa842c28c35e95a03.tar.gz |
Miscellaneous fixes for dhcp client support.
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 4 | ||||
-rw-r--r-- | release/boot_crunch.conf.generic | 4 | ||||
-rw-r--r-- | release/sysinstall/tcpip.c | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/release/Makefile b/release/Makefile index 2052f5f..ced89f1 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.495 1999/07/06 09:15:53 hosokawa Exp $ +# $Id: Makefile,v 1.496 1999/07/06 13:07:47 hosokawa Exp $ # # make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ] # @@ -465,6 +465,8 @@ release.8: write_mfs_in_kernel ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \ cpio -dump ${RD}/mfsfd/dev ) ( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] ) + ( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s stand/sh bin/sh ) + cp /sbin/dhclient-script ${RD}/mfsfd/sbin .if ${PCCARD} == "YES" cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf .endif diff --git a/release/boot_crunch.conf.generic b/release/boot_crunch.conf.generic index 456a95b..33214fe 100644 --- a/release/boot_crunch.conf.generic +++ b/release/boot_crunch.conf.generic @@ -1,9 +1,9 @@ -# $Id: boot_crunch.conf.generic,v 1.1 1999/06/17 19:04:46 markm Exp $ +# $Id: boot_crunch.conf.generic,v 1.2 1999/07/17 19:30:01 jkh Exp $ srcdirs /usr/src/bin /usr/src/sbin /usr/src/release /usr/src/usr.bin srcdirs /usr/src/gnu/usr.bin /usr/src/usr.sbin /usr/src/sbin/i386 -progs sh find +progs sh find sed progs pwd ppp progs sysinstall newfs minigzip cpio bad144 fsck ifconfig route slattach progs mount_nfs 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]; |