diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-03-27 19:52:49 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-03-27 19:52:49 -0700 |
commit | 478e1993e0760ad83668243111be155b3e9e7050 (patch) | |
tree | 46d356b1a306d5333dd530115e57b61bcb3ab803 /configure.sh | |
download | cash-478e1993e0760ad83668243111be155b3e9e7050.tar.gz cash-478e1993e0760ad83668243111be155b3e9e7050.zip |
Initial content; missing some mailcert.sh support
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh new file mode 100644 index 0000000..e441aa0 --- /dev/null +++ b/configure.sh @@ -0,0 +1,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 |