This adds /etc/netconfig to the list of files that get copied to

/stand/etc on the mfsroot, and hence to /etc on the install target
disk for use during the install. It also links netconfig and services
into /etc on the mfsroot so that they are available to a fixit
shell.

Submitted by: iedowse
This commit is contained in:
Alfred Perlstein 2001-03-21 23:53:40 +00:00
parent d0230d0442
commit a191fd1be7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74611

View File

@ -85,7 +85,7 @@ BIN_DISTS?= bin
DISTRIBUTIONS?= ${BIN_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
KERNELS?= GENERIC
BOOT1= etc/protocols etc/defaults/rc.conf
BOOT1= etc/protocols etc/netconfig etc/defaults/rc.conf
# mountpoint for filesystems.
MNT= /mnt
@ -537,11 +537,10 @@ release.8: write_mfs_in_kernel
cp ${.CURDIR}/../etc/defaults/pccard.conf ${RD}/mfsfd/etc/defaults/pccard.conf
cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
echo "nameserver 42/tcp name" > ${RD}/mfsfd/stand/etc/services
echo "ftp 21/tcp" >> ${RD}/mfsfd/stand/etc/services
echo "domain 53/tcp nameserver" >> ${RD}/mfsfd/stand/etc/services
echo "domain 53/udp nameserver" >> ${RD}/mfsfd/stand/etc/services
echo "cmd 514/tcp shell" >> ${RD}/mfsfd/stand/etc/services
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' \
${.CURDIR}/../etc/services > ${RD}/mfsfd/stand/etc/services
ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services
ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig
gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
@for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \