diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-06-13 03:38:16 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-06-13 03:38:16 +0000 |
commit | 1bac68a35689169cb9ee0b03c83a3265651c0bfc (patch) | |
tree | d3a1e414996cc1cda355718884b87312184a819f | |
parent | 1bc7e4b5fc117f06497f8106487b7f034b6ca9cf (diff) |
don't make /var/named/dev/log if named_flags == NO
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |