- Fix typo in start/stop script

PR:             56094
Submitted by:   maintainer
Noticed by:     Matthew Seaman <m.seaman@infracaninophile.co.uk>
This commit is contained in:
Kirill Ponomarev 2003-08-28 19:52:22 +00:00
parent 0fed513ef1
commit 95e07bbb91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87923
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ start_precmd()
{
if [ x"$slapd_owner" != x ]; then
chown "${slapd_owner}" "%%LDAP_RUN_DIR%%"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-ldbm"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-data"
chown "${slapd_owner}" "%%PREFIX%%/etc/openldap/slapd.conf"
slapd_ownername=`expr //"$slapd_owner" : //'\([^:]*\)'`

View file

@ -41,7 +41,7 @@ start_precmd()
{
if [ x"$slapd_owner" != x ]; then
chown "${slapd_owner}" "%%LDAP_RUN_DIR%%"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-ldbm"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-data"
chown "${slapd_owner}" "%%PREFIX%%/etc/openldap/slapd.conf"
slapd_ownername=`expr //"$slapd_owner" : //'\([^:]*\)'`

View file

@ -41,7 +41,7 @@ start_precmd()
{
if [ x"$slapd_owner" != x ]; then
chown "${slapd_owner}" "%%LDAP_RUN_DIR%%"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-ldbm"
chown -RL "${slapd_owner}" "%%LOCALSTATEDIR%%/openldap-data"
chown "${slapd_owner}" "%%PREFIX%%/etc/openldap/slapd.conf"
slapd_ownername=`expr //"$slapd_owner" : //'\([^:]*\)'`