20 lines
261 B
Plaintext
Raw Normal View History

#!/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
}
stop() {
service_stop /usr/sbin/slapd
}
reload() {
service_reload /usr/sbin/slapd
}