summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-21 04:28:44 +0000
committerdg <dg@FreeBSD.org>1994-08-21 04:28:44 +0000
commit4141aa7be2695cd9b6bfd9884de4fdddcb1ebced (patch)
treeabd7e912716e9abb93846f3c7922d32471bb9c4b /etc
parentb4450a5972bfc0cee827cbe3fd9e5f92915f9266 (diff)
downloadFreeBSD-src-4141aa7be2695cd9b6bfd9884de4fdddcb1ebced.zip
FreeBSD-src-4141aa7be2695cd9b6bfd9884de4fdddcb1ebced.tar.gz
1) adapted to a world without "fastboot" and "fasthalt".
2) updated to work with 2.0/4.4 binaries.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc16
1 files changed, 7 insertions, 9 deletions
diff --git a/etc/rc b/etc/rc
index de5fe06..1af07ef 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.26 1994/06/05 16:03:57 ats Exp $
+# $Id: rc,v 1.27 1994/06/06 17:45:37 phk Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -18,10 +18,7 @@ HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
-if [ -e /fastboot ]
-then
- echo Fast boot ... skipping disk checks
-elif [ $1x = autobootx ]
+if [ $1x = autobootx ]
then
echo Automatic reboot in progress...
fsck -p
@@ -53,6 +50,8 @@ then
exit 1
;;
esac
+else
+ echo Skipping disk checks ...
fi
trap "echo 'Reboot interrupted'; exit 1" 3
@@ -67,7 +66,6 @@ fi
umount -a >/dev/null 2>&1
mount -a -t nonfs
-rm -f /fastboot # XXX (root now writeable)
# If the machine runs wall CMOS clock (compatible with MSDOS),
# activate following line by creating empty file /etc/wall_cmos_clock
@@ -116,7 +114,7 @@ fi
#quotaon -a
# build ps databases
-kvm_mkdb /386bsd
+kvm_mkdb /kernel
dev_mkdb
chmod 666 /dev/tty[pqrs]*
@@ -204,8 +202,8 @@ echo -n ' printer'; lpd
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
echo -n ' mountd'; mountd
- echo -n ' nfsd'; nfsd -u 0,0,4 -t 0,0
- echo -n ' nfsiod'; nfsiod 4
+ echo -n ' nfsd'; nfsd -u -t 4
+ echo -n ' nfsiod'; nfsiod -n 4
fi
# $sendmail_flags is imported from /etc/netstart;
OpenPOWER on IntegriCloud