summaryrefslogtreecommitdiff
path: root/configure.sh
blob: e441aa01ed05b5e7b5f67a0cec2824d776804007 (plain)
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
#!/bin/echo This is intended to be run from within scripts as this as .

export     CA="omgca"
export EXPIRE="3650"
export      C="US"
export     ST="Oregon"
export      L="Portland"
export      O="Rayhawk Foundation For World Domination"
export     OU="Ministry of Propaganda"
export     CN="Joe Rayhawk"
export      E="jrayhawk+ssl@omgwallhack.org" # also used for From: and CC: in ./mailcert.sh usage

export OPENSSL_CONFIG="openssl.cnf"

export EMAIL_DEFAULT_DOMAIN="omgwallhack.org"

if [ $SUPPLEMENTARY_CONFIG ]; then
  if [ -e ./"$SUPPLEMENTARY_CONFIG" ]; then
    . ./"$SUPPLEMENTARY_CONFIG" # dash is finnicky about how paths for sourcing work
  elif [ -e /"$SUPPLEMENTARY_CONFIG" ]; then
    . /"$SUPPLEMENTARY_CONFIG"
  else
    echo "$SUPPLEMENTARY_CONFIG" does not exist
    exit 1
  fi
fi

if [ -e ./local.cfg ]; then
  . ./local.cfg # dash is finnicky about how paths for sourcing work
fi