summaryrefslogtreecommitdiff
path: root/benchmarks/siege/files/siege.config.in
blob: 9da3df97e82f1156e4130fc9fa8b7b102bc697f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# SCRIPT: siege.config
# AUTHOR: Jeffrey Fulmer <jdfulmer@armstrong.com>
# DATE:   Mon May 28 11:40:28 EDT 2001
# SYNOP:  This script generates  an $HOME/.siegerc 
#         file from the  doc/siegerc.in  template.
#         Its contents are added to this script by
#         configure.  The siegerc file template is
#         maintained once in $(top_srcdir)/doc.

rcfile="$HOME/.siegerc"

if test -f $rcfile; then
  echo "siege.config"
  echo "usage: siege.config [no arguments]"
  echo "----------------------------------"
  echo "Resource file already install as $rcfile"
  echo "Use your favorite editor to change your configuration by"
  echo "editing the values in that file."
  echo ""
  exit
fi
cp %%DATADIR%%/siegerc ${rcfile}
echo "New configuration template added to $rcfile"
echo "Run siege -C to view the current settings in that file"
exit