summaryrefslogtreecommitdiffstats
path: root/etc/rc.diskless1
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.diskless1
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.diskless1')
-rw-r--r--etc/rc.diskless16
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/rc.diskless1 b/etc/rc.diskless1
index fdf71c6..c7308cd 100644
--- a/etc/rc.diskless1
+++ b/etc/rc.diskless1
@@ -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