summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-13 03:38:16 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-13 03:38:16 +0000
commit1bac68a35689169cb9ee0b03c83a3265651c0bfc (patch)
treed3a1e414996cc1cda355718884b87312184a819f
parent1bc7e4b5fc117f06497f8106487b7f034b6ca9cf (diff)
don't make /var/named/dev/log if named_flags == NO
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index a491a816cce..fe612f86390 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.75 1998/06/03 17:12:03 millert Exp $
+# $OpenBSD: rc,v 1.76 1998/06/13 03:38:15 millert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -85,7 +85,7 @@ rm -f /var/spool/uucp/STST/*
echo 'starting system logger'
rm -f /dev/log
-if [ "X${named_chroot}" != "X" ]; then
+if [ "X${named_flags}" != X"NO" -a "X${named_chroot}" != "X" ]; then
rm -f ${named_chroot}/dev/log
syslogd_flags="${syslogd_flags} -a ${named_chroot}/dev/log"
fi