File: siege.config.in

package info (click to toggle)
siege 4.0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,624 kB
  • ctags: 1,347
  • sloc: ansic: 12,638; sh: 9,115; makefile: 155; php: 142
file content (32 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
#!%_SHELL%
# SCRIPT: siege.config
# AUTHOR: Jeffrey Fulmer <jeff@joedog.org>
# DATE:   Wed Nov 11 11:13:38 EST 2015
#         Moved $HOME/.siegerc to .siege/siege.conf
# DATE:   Mon May 28 11:40:28 EDT 2001
#         Orignal file
# 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"
config="$HOME/.siege/siege.conf"

if test -f $rcfile; then
  rm -f $rcfile
fi

if test -f $config; then
  echo "siege.config"
  echo "usage: siege.config [no arguments]"
  echo "----------------------------------"
  echo "Resource file already install as $config"
  echo "Use your favorite editor to change  your configuration by"
  echo "editing the values in that file or remove it and run this"
  echo "program again."
  echo ""
  exit
fi
cat > $config << '_EOF_'