summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-21 06:40:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-21 06:40:51 +0000
commit1d21d4700827e534dbd62777c22505ff4b4e583b (patch)
tree8ac909c9f6d8d24864a66143f0ebded4be8a69d6 /etc/rc
parent16b40e2c60fa871349b301a23ae239fc62f70460 (diff)
sigh; move syslog up nearer the top. Any failures from this?
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc19
1 files changed, 9 insertions, 10 deletions
diff --git a/etc/rc b/etc/rc
index 4fe2d1a1dd2..9633627f127 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.57 1997/12/12 23:02:26 niklas Exp $
+# $OpenBSD: rc,v 1.58 1997/12/21 06:40:50 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -83,10 +83,14 @@ rm -f /var/spool/lock/LCK.*
rm -f /var/spool/uucp/STST/*
(cd /var/run && { rm -rf -- *; install -c -m 664 -g utmp /dev/null utmp; })
+echo 'starting system logger'
+rm -f /dev/log
+syslogd
+
# $named_flags is imported from /etc/rc.conf;
# if $named_flags != NO, named is run.
if [ "X${named_flags}" != X"NO" ]; then
- echo -n ' named'; named $named_flags
+ echo 'starting named'; named $named_flags
fi
# /etc/ifaliases, if it exists, contains the names of additional IP
@@ -182,20 +186,15 @@ if [ X${amd} = X"YES" -a -d ${amd_dir} -a -r ${amd_master} ]; then
-a ${amd_dir} `cat ${amd_master}` > /var/run/amd.pid
fi
-echo '.'
-mount -a -t nfs
-
-echo -n 'starting system logger'
-rm -f /dev/log
-syslogd
-
# $timed_flags is imported from /etc/rc.conf;
# if $timed_flags == NO, timed isn't run.
if [ "X${timed_flags}" != X"NO" ]; then
- echo -n ', time daemon'; timed $timed_flags
+ echo -n ' timed'; timed $timed_flags
fi
echo '.'
+mount -a -t nfs
+
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
if [ -d /var/crash ]; then