#! /bin/csh -f

#
# if FWDIR is not /etc/fw, maybe we should have a link there
#
source scripts/aliases

	if (-f conf/product.conf) then
		\cp -p conf/product.conf $FWDIR/conf/product.conf
	endif
	
	if ("X$ans" == "Xc") then
		$FWDIR/bin/fwconfig
	else if (!($?upgrade)) then 
		$FWDIR/bin/fwconfig -install -first 
	else if ("X$upgrade" == Xy) then
		$FWDIR/bin/fwconfig -install
	else
		$FWDIR/bin/fwconfig -install -first
	endif

	exit 0

