blob: 2209e76b485b11f8cecc5e2ca1c6f0ec0201af8b [file] [log] [blame]
#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2011 OpenWrt.org
START=60
SERVICE_USE_PID=1
start() {
mkdir -m 0755 -p /var/openldap-data
service_start /usr/sbin/slapd -h "ldap://localhost/ ldaps:///"
}
stop() {
service_stop /usr/sbin/slapd
}
reload() {
service_reload /usr/sbin/slapd
}