summaryrefslogtreecommitdiff
path: root/package/openldap
diff options
context:
space:
mode:
Diffstat (limited to 'package/openldap')
-rw-r--r--package/openldap/files/slapd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/openldap/files/slapd.init b/package/openldap/files/slapd.init
index f026bfef4..8f43b1573 100644
--- a/package/openldap/files/slapd.init
+++ b/package/openldap/files/slapd.init
@@ -7,6 +7,7 @@ case $1 in
autostop) ;;
autostart)
test x"${slapd:-NO}" = x"NO" && exit 0
+ test x"$slapd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)