X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fbootscripts%2Fopenldap;fp=stage5%2Fbootscripts%2Fopenldap;h=0000000000000000000000000000000000000000;hb=c40856bcf84d4704a5678d35456ee17e7168da4e;hp=2896184f6a0dc6a8ca7494718af0cc8184bb0349;hpb=bd4976a460cc6af4da09164c6f1d1581480a9771;p=hvlinux.git diff --git a/stage5/bootscripts/openldap b/stage5/bootscripts/openldap deleted file mode 100755 index 2896184..0000000 --- a/stage5/bootscripts/openldap +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -# openldap - -# Source functions library -source /etc/rc.d/init.d/functions - -log_script_name "$0 $*" - -piddir=/srv/ldap/run - -case "$1" in - start) - cmd_run_log_box_warn "Starting LDAP Server" loadproc slapd - ;; - - stop) - cmd_run_log_box_warn "Stopping LDAP Server" killproc_path slapd ${piddir} - ;; - - restart) - $0 stop - sleep 1 - $0 start - ;; - - status) - statusproc_path slapd ${piddir} - ;; - - *) - echo "Usage: $0 {start|stop|restart|status}" - exit ${EXIT_CODE_FAILURE} - ;; -esac - -exit $?