1 |
dungog |
1.1 |
diff -urN e-smith-ldap-5.2.0/createlinks e-smith-ldap-5.2.0.new/createlinks |
2 |
|
|
--- e-smith-ldap-5.2.0/createlinks 2010-02-05 23:20:39.000000000 +1100 |
3 |
|
|
+++ e-smith-ldap-5.2.0.new/createlinks 2010-02-05 23:34:06.000000000 +1100 |
4 |
|
|
@@ -32,4 +32,6 @@ |
5 |
|
|
|
6 |
|
|
event_link("ldap-delete-dumps", "pre-restore", "25"); |
7 |
|
|
|
8 |
|
|
+event_link("ldap-reinit", "post-upgrade", "15"); |
9 |
|
|
+ |
10 |
|
|
exit 0; |
11 |
|
|
diff -urN e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-reinit e-smith-ldap-5.2.0.new/root/etc/e-smith/events/actions/ldap-reinit |
12 |
|
|
--- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-reinit 1970-01-01 10:00:00.000000000 +1000 |
13 |
|
|
+++ e-smith-ldap-5.2.0.new/root/etc/e-smith/events/actions/ldap-reinit 2010-02-05 23:28:27.000000000 +1100 |
14 |
|
|
@@ -0,0 +1,4 @@ |
15 |
|
|
+#!/bin/sh |
16 |
|
|
+ |
17 |
|
|
+exec rm -rf /var/lib/ldap/* |
18 |
|
|
+ |