#!/bin/ksh
#
#ident	"@(#)cforms	1.2	04/12/08 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

# variables
outdir=$1	# out directory
fdir=forms	# forms directory

### MAIN ###

# remove existing forms
rm -rf $outdir

# create forms directory
mkdir -p $outdir

# copy driver vendor data
cp $fdir/dvendor.tpl $outdir/dvendor.frm

# copy system vendor data
cp $fdir/svendor.tpl $outdir/svendor.frm

# copy network host data
cp $fdir/nethost.dat $outdir/nethost.dat

# copy result data
#cp $fdir/res.tpl $outdir/res.txt

# change mode
chmod -R 777 $outdir

