Files
meta-openembedded/meta-oe/recipes-support/openldap/openldap/initscript
Li xin 125a424fce openldap: upgrade 2.4.40 -> 2.4.41
1) Dropped backported patches(commit-id):
-0001-ITS-8027-require-non-empty-AttributeList.patch(c32e747)
-0001-ITS-8046-fix-vrFilter_free.patch(2f1a2dd)

2) Update the checksum of COPYRIGHT,since the date in it has been changed,
but the LICENSE has not been changed.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:22:24 +02:00

36 lines
633 B
Bash

#! /bin/sh
#
# This is an init script for openembedded
# Copy it to /etc/init.d/openldap and type
# > update-rc.d openldap defaults 60
#
# Source function library.
. /etc/init.d/functions
slapd=/usr/sbin/slapd
test -x "$slapd" || exit 0
case "$1" in
start)
echo -n "Starting OpenLDAP: "
start-stop-daemon --start --quiet --exec $slapd
echo "."
;;
stop)
echo -n "Stopping OpenLDAP: "
start-stop-daemon --stop --quiet --pidfile /var/run/slapd.pid
echo "."
;;
status)
status $slapd;
exit $?
;;
*)
echo "Usage: /etc/init.d/openldap {start|stop|status}"
exit 1
esac
exit 0