#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
+#monitormod#moduleload ../servers/slapd/back-monitor/back_monitor.la
+
#######################################################################
# ldbm database definitions
#######################################################################
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-if [ x"$MONITORDB" = x"yes" ] ; then
+if [ x"$MONITORDB" = x"yes" -o x"$MONITORDB" = xmod ] ; then
MON=monitor
+ if [ $MONITORDB = mod ] ; then
+ MONMOD=monitormod
+ else
+ MONMOD=nomod
+ fi
else
MON=nomonitor
fi
-e "s/^#${AC_refint}#//" \
-e "s/^#${AC_unique}#//" \
-e "s/^#${MON}#//" \
+ -e "s/^#${MONMOD}#//" \
-e "s/@CACHETTL@/${CACHETTL}/" \
-e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"