nico 28a89fcf24 packages/openldap: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:25:19 +00:00

20 lines
261 B
Bash

#!/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
}