Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/rc.d/syslogd,v retrieving revision 1.14 retrieving revision 1.15 diff -u -p -r1.14 -r1.15 --- src/etc/rc.d/syslogd 2004/08/13 18:08:03 1.14 +++ src/etc/rc.d/syslogd 2004/10/11 13:29:52 1.15 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: syslogd,v 1.14 2004/08/13 18:08:03 mycroft Exp $ +# $NetBSD: syslogd,v 1.15 2004/10/11 13:29:52 lukem Exp $ # # PROVIDE: syslogd @@ -36,11 +36,14 @@ syslogd_precmd() # syslog socket to list of sockets to watch. # for _lr in $(rcorder -k chrootdir /etc/rc.d/*); do + ( _l=${_lr##*/} + load_rc_config ${_l} eval _ldir=\$${_l}_chrootdir if checkyesno $_l && [ -n "$_ldir" ]; then echo "${_ldir}/var/run/log" >> $_sockfile fi + ) done # If other sockets have been provided, change run_rc_command()'s