aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.diskless2
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
commit321704296f6ba1a5885ff7064b14fbeecf20c340 (patch)
tree920fd19901d5e07524b525646b51b9635f1686a7 /etc/rc.diskless2
parent4a086b52ca9b3fe330755fcf9e1c7a9c657927ee (diff)
Notes
Diffstat (limited to 'etc/rc.diskless2')
-rw-r--r--etc/rc.diskless212
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/rc.diskless2 b/etc/rc.diskless2
index 37412d31a910..445203690e74 100644
--- a/etc/rc.diskless2
+++ b/etc/rc.diskless2
@@ -1,11 +1,14 @@
+#
+#$FreeBSD$
+#
# rc.diskless2
#
# If there is a global system configuration file, suck it in.
#
-if [ -f /etc/defaults/rc.conf ]; then
+if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
-elif [ -f /etc/rc.conf ]; then
+elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
@@ -29,7 +32,6 @@ mkdir /var/spool/output/lpd
chown -R root.daemon /var/spool/output
chgrp daemon /var/spool/lpd
-( cd /; find -x dev | cpio -o -H newc ) > /tmp/dev.tmp
+(cd /; find -x dev | cpio -o -H newc) > /tmp/dev.tmp
mount_mfs -s 4096 -i 512 -T qp120at dummy /dev
-( cd /; cpio -i -H newc -d < /tmp/dev.tmp )
-
+(cd /; cpio -i -H newc -d < /tmp/dev.tmp)