/[smeserver]/rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-reinit.patch
ViewVC logotype

Contents of /rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-reinit.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 5 12:39:07 2010 UTC (14 years, 4 months ago) by dungog
Branch: MAIN
CVS Tags: e-smith-ldap-5_2_0-15_el5_sme
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-15.sme
- re-init readonly database on post-upgrade [SME:5747]

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 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed