#! /bin/sh
#
#
# This section creates the directory called /etc/security/spool.
# This directory will be used by bsmconv to move S92volmgt aside.
#
verscsr=`pkgparam -R $ROOTDIR SUNWcsr VERSION 2>/dev/null`
verscsu=`pkgparam -R $ROOTDIR SUNWcsu VERSION 2>/dev/null`
if [ "$verscsr" = "11.6.0,REV=1997.07.16.00.21" ] && \
        [ "$verscsu" = "11.6.0,REV=1997.07.16.00.21" ]; then
        if [ ! -d $ROOTDIR/etc/security/spool ]; then
                mkdir -m 755 $ROOTDIR/etc/security/spool
                chown root $ROOTDIR/etc/security/spool
                chgrp sys $ROOTDIR/etc/security/spool
                installf -R $ROOTDIR SUNWcsr /etc/security/spool
                installf -f -R $ROOTDIR SUNWcsr
        fi
fi
exit 0
