Masato Taruishi
taru****@users*****
2004年 10月 5日 (火) 18:24:09 JST
=================================================================== RCS file: ultrapossum/module/server/10server,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ultrapossum/module/server/10server 2004/09/29 12:55:38 1.19 +++ ultrapossum/module/server/10server 2004/10/05 09:24:09 1.20 @@ -58,7 +58,11 @@ RPLDIR=`ultrapossum_getconf RPLDIR $localstatedir/spool/slurpd` if grep "^pidfile" $SLAPDCONF > /dev/null 2> /dev/null; then - SLAPDCONF_PIDFILE=`grep "^pidfile" $SLAPDCONF | awk -F' ' '{print $2;}'` + SLAPDCONF_PIDFILE=$(ultrapossum_getconf SLAPDCONF_PIDFILE `grep "^pidfile" $SLAPDCONF | awk -F' ' '{print $2;}'`) +fi + +if grep "^security" $SLAPDCONF > /dev/null 2> /dev/null; then + SECURITY=$(ultrapossum_getconf SECURITY "`grep "^security" $SLAPDCONF | sed 's/^security[[:space:]]//'`") fi SLAPD_SLAVE_PIDFILE=`ultrapossum_getconf SLAPDCONF_PIDFILE /var/run/slapd.pid`