mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
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>
36 lines
633 B
Bash
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
|