summaryrefslogtreecommitdiffstats
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-12-26 17:00:55 +0000
committerrwatson <rwatson@FreeBSD.org>2001-12-26 17:00:55 +0000
commitbedbb443300070be4feac72118beec936cf41afb (patch)
treec5d3ae0cc650397a398cf3b7687eadeb743830fc /etc/rc.initdiskless
parent80798b42256446cc4ccf71b6b853b57e95f53aa8 (diff)
downloadFreeBSD-src-bedbb443300070be4feac72118beec936cf41afb.zip
FreeBSD-src-bedbb443300070be4feac72118beec936cf41afb.tar.gz
Remove incorrect comments about the population of /etc: no attempt is
made to copy the NFS-mounted on to /tmp/etc, instead, it is populated entirely from /conf/default, then overriden from /conf/IP.
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r--etc/rc.initdiskless6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index fdf71c6..c7308cd 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -30,9 +30,8 @@
#
# BOOTP has mounted / for us. Assume a read-only mount. We must then
# - figure out our IP by querying the interface
-# - copy /etc temporarily out of the way to /tmp/etc
# - mount /etc as an MFS
-# - repopulate /etc with the saved off copy
+# - populate /etc from /conf/default version
# - override files in /etc with files from /conf/*/etc where
# '*' is default, netmask of client, ip-address of client
#
@@ -97,9 +96,6 @@ done
echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}"
-# Create an MFS /tmp to temporarily hold files from /etc until we
-# can bootstrap /etc as an MFS.
-
mount_md 4096 /etc 0
chkerr $? "MFS mount on /etc"
/bin/chmod 755 /etc
OpenPOWER on IntegriCloud