You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
294 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009-2011 OpenWrt.org
  3. START=60
  4. SERVICE_USE_PID=1
  5. start() {
  6. mkdir -m 0755 -p /var/openldap-data
  7. service_start /usr/sbin/slapd -h "ldap://localhost/ ldaps:///"
  8. }
  9. stop() {
  10. service_stop /usr/sbin/slapd
  11. }
  12. reload() {
  13. service_reload /usr/sbin/slapd
  14. }