[Pkg-openldap-devel] r843 - openldap/trunk-2.3/debian

Matthijs Mohlmann matthijs at alioth.debian.org
Sat Sep 15 10:30:38 UTC 2007


Author: matthijs
Date: 2007-09-15 10:30:38 +0000 (Sat, 15 Sep 2007)
New Revision: 843

Modified:
   openldap/trunk-2.3/debian/changelog
   openldap/trunk-2.3/debian/slapd.init
Log:
 * Fix bashism in init script.


Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog	2007-07-10 07:01:04 UTC (rev 842)
+++ openldap/trunk-2.3/debian/changelog	2007-09-15 10:30:38 UTC (rev 843)
@@ -1,12 +1,16 @@
 openldap2.3 (2.3.35-3) UNRELEASED; urgency=low
 
+  [ Steve Langasek ]
   * Drop debian/patches/use-lpthread, which is no longer needed on mips*
     because gcc has been fixed.
   * Drop debian/patches/add-autogen-sh, also no longer needed now that
     the above patch is gone.
 
- -- Steve Langasek <vorlon at debian.org>  Mon, 09 Jul 2007 23:44:46 -0700
+  [ Matthijs Mohlmann ]
+  * Fix bashism in initscript. (Closes: #428883)
 
+ -- Matthijs Mohlmann <matthijs at cacholong.nl>  Sat, 15 Sep 2007 12:28:43 +0200
+
 openldap2.3 (2.3.35-2) unstable; urgency=low
 
   * Enable LAN Manager password support in slapd.  (Closes: #245341)

Modified: openldap/trunk-2.3/debian/slapd.init
===================================================================
--- openldap/trunk-2.3/debian/slapd.init	2007-07-10 07:01:04 UTC (rev 842)
+++ openldap/trunk-2.3/debian/slapd.init	2007-09-15 10:30:38 UTC (rev 843)
@@ -199,7 +199,7 @@
 }
 
 # Start the OpenLDAP daemons
-start() {
+start_ldap() {
 	echo -n "Starting OpenLDAP:"
 	trap 'report_failure' 0
 	start_slapd
@@ -209,7 +209,7 @@
 }
 
 # Stop the OpenLDAP daemons
-stop() {
+stop_ldap() {
 	echo -n "Stopping OpenLDAP:"
 	trap 'report_failure' 0
 	stop_slurpd
@@ -221,13 +221,13 @@
 case "$1" in
   start)
 	check_for_no_start
-  	start ;;
+  	start_ldap ;;
   stop)
-  	stop ;;
+  	stop_ldap ;;
   restart|force-reload)
 	check_for_no_start
-  	stop
-	start
+  	stop_ldap
+	start_ldap
 	;;
   *)
   	echo "Usage: $0 {start|stop|restart|force-reload}"




More information about the Pkg-openldap-devel mailing list