#!/bin/sh
#
# (C) aryzhov@yahoo.com
#
# #include GNU Public License
#
# Automated YASSP installation for Jumpstart finish
#
#
#
# We added zlib here which wasn't part of initial YASSP cluster
#
[ -z "$SID" ] && SID=/tmp/install_config
[ X$SubrIsRead = XYes ] || . $SID/Scripts/Misc/!Includes/Subroutines
[ X$VarsAreSet = XYes ] || SetJVars
[ X$ROOT != X/ ] && exec Chroot_Script $0 $*

CLUSTER="
   aubtocsin
   gnugzip
   gnurcs
   zlib
   openssh
   parcdaily
   prftripw
   wvtcpd
   secclean
"

INSTPACK="
   gnugzip
   gnurcs
   wvtcpd
   secclean
"

cd $PKGDIR/yassp
PTYPE=`uname -p`
for PKG in $INSTPACK ; do
  echo "$CLUSTER" | egrep -s $PKG  &&  echo "y\ny" | pkgadd -a ./admin $ROOTOPTS -d ${PKG}_$PTYPE  all || Start_Shell
done

