6331N/AETCDIR=${PKG_INSTALL_ROOT}/etc
6331N/AMAJOR=`echo $OSREL | cut -f1 -d.`
6331N/AMINOR=`echo $OSREL | cut -f2 -d.`
6331N/Aif [ \( ${MAJOR} -lt 5 \) -o \( ${MAJOR} -eq 5 -a ${MINOR} -lt 10 \) ] ; then
6331N/A echo "This package is intended for Solaris 10 and better"
6331N/A echo "Either upgarde your ancient OS or use the OpenDJ generic zip package."
6331N/A# check, whether the group ldapd exists
6331N/Aegrep -s '^ldapd:' ${ETCDIR}/group
6331N/A For security reason OpenDJ should be run as user with the group 'ldapd'.
6331N/A This group is not part of your ${ETCDIR}/group ! Please setup
6331N/A# check, whether a user ldapd exists
6331N/Aegrep -s '^ldapd:' ${ETCDIR}/passwd
6331N/A For security reason OpenDJ should be run as user 'ldapd'.
6331N/A This user is not part of your ${ETCDIR}/passwd ! Please setup
6331N/A This package requires the AT&T Korn-Shell 93!
6331N/A In case you don't have a package, you can download a S10+ compatible
6331N/Aif [ "$BREAK" = "true" ]; then
6331N/A echo "CLASSES=$CLASSES rbac" >>$1
6331N/A echo "CLASSES=$CLASSES rbac2" >>$1