Browse Source

don't make /var/named/dev/log if named_flags == NO

OPENBSD_2_4
millert 26 years ago
parent
commit
6456226d8f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -85,7 +85,7 @@ rm -f /var/spool/uucp/STST/*
echo 'starting system logger' echo 'starting system logger'
rm -f /dev/log 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 rm -f ${named_chroot}/dev/log
syslogd_flags="${syslogd_flags} -a ${named_chroot}/dev/log" syslogd_flags="${syslogd_flags} -a ${named_chroot}/dev/log"
fi fi


Loading…
Cancel
Save