1 |
diff -Nur e-smith-ldap-5.2.0/root/var/service/ldap/finish e-smith-ldap-5.2.0_mod/root/var/service/ldap/finish |
diff -Nur e-smith-ldap-5.2.0/root/var/service/ldap/finish e-smith-ldap-5.2.0_mod/root/var/service/ldap/finish |
2 |
--- e-smith-ldap-5.2.0/root/var/service/ldap/finish 2012-11-13 17:42:02.600740823 +0100 |
--- e-smith-ldap-5.2.0/root/var/service/ldap/finish 2012-11-13 19:22:02.364704224 +0100 |
3 |
+++ e-smith-ldap-5.2.0_mod/root/var/service/ldap/finish 2012-11-13 17:44:26.031463195 +0100 |
+++ e-smith-ldap-5.2.0_mod/root/var/service/ldap/finish 2012-11-13 19:17:53.520131378 +0100 |
4 |
@@ -1,3 +1,6 @@ |
@@ -1,3 +1,5 @@ |
5 |
#! /bin/sh |
#! /bin/sh |
6 |
|
|
7 |
/usr/sbin/slaptest -u 2>/dev/null && exec /usr/sbin/slapcat -l ldif |
-/usr/sbin/slaptest -u 2>/dev/null && exec /usr/sbin/slapcat -l ldif |
8 |
+ |
+/usr/sbin/slaptest -u 2>/dev/null && \ |
9 |
+# Remove unused BDB log files |
+ /usr/sbin/slapcat -l ldif && \ |
10 |
+/usr/sbin/slapd_db_archive -d -h /var/log/bdb/ |
+ /usr/sbin/slapd_db_archive -d -h /var/log/bdb/ |