# Copyright (c) 1999 Sun Microsystems, Inc., All Rights Reserved 
#
trap 'exit 3' 15
#
#
echo
echo "What user name should be used by default"
echo "to run the Web Server daemon? [root] \c"
read HTUSER
if  [ x"$HTUSER" = x"" ]; then
	HTUSER=root;
fi;

YN=`ckyorn -p "Construct a server instance and website" -d y` || exit $?
if [ "$YN" = "Y"  -o "$YN" = "YES" -o "$YN" = "yes" -o "$YN" =  "y" ]; then
	YN="yes"
else
	YN="no"
fi

cat >$1 <<EOD
HTTP_USER=$HTUSER
BUILD_SITE=$YN
EOD
exit 0

