#!/bin/sh
# $Revision: 1.8 $
# Sun Packaging Postinstall script for NetBackup Encryption
#
# Prepend /usr/5bin to PATH on Suns to get System V behaviour from echo.
PATH=/usr/5bin:$PATH

Entry_exist=""
Entry_exist=`grep '^[    ]*ALLOW_ENCRYPTION' /usr/openv/netbackup/bp.conf `
if [ "$Entry_exist" = "" ] ; then
    echo "ALLOW_ENCRYPTION" >> /usr/openv/netbackup/bp.conf
else
    echo ""
fi

echo "\n\n\tThe selected NetBackup Encryption client platforms have been installed."
echo "\tExecute \n\t\t/usr/openv/netbackup/bin/bpinst_crypt\n\tto distribute them.\n\n"
