version 1.14, 2004/08/13 18:08:03 |
version 1.15, 2004/10/11 13:29:52 |
|
|
# syslog socket to list of sockets to watch. |
# syslog socket to list of sockets to watch. |
# |
# |
for _lr in $(rcorder -k chrootdir /etc/rc.d/*); do |
for _lr in $(rcorder -k chrootdir /etc/rc.d/*); do |
|
( |
_l=${_lr##*/} |
_l=${_lr##*/} |
|
load_rc_config ${_l} |
eval _ldir=\$${_l}_chrootdir |
eval _ldir=\$${_l}_chrootdir |
if checkyesno $_l && [ -n "$_ldir" ]; then |
if checkyesno $_l && [ -n "$_ldir" ]; then |
echo "${_ldir}/var/run/log" >> $_sockfile |
echo "${_ldir}/var/run/log" >> $_sockfile |
fi |
fi |
|
) |
done |
done |
|
|
# If other sockets have been provided, change run_rc_command()'s |
# If other sockets have been provided, change run_rc_command()'s |