2009-11-23 10:53:22 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-07 23:46:03 +00:00
|
|
|
# Copyright (C) 2009-2011 OpenWrt.org
|
2009-11-23 10:53:22 +00:00
|
|
|
|
|
|
|
START=60
|
|
|
|
|
2011-11-09 23:25:19 +00:00
|
|
|
SERVICE_USE_PID=1
|
|
|
|
|
2009-11-23 10:53:22 +00:00
|
|
|
start() {
|
2011-11-09 23:25:19 +00:00
|
|
|
mkdir -m 0755 -p /var/openldap-data
|
|
|
|
service_start /usr/sbin/slapd
|
2009-11-23 10:53:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-09 23:25:19 +00:00
|
|
|
service_stop /usr/sbin/slapd
|
|
|
|
}
|
|
|
|
|
|
|
|
reload() {
|
|
|
|
service_reload /usr/sbin/slapd
|
2009-11-23 10:53:22 +00:00
|
|
|
}
|