problem sourcing a file while configuring OpenVPN 2.0 on FreeBSD 6.0

Matt Singerman matt.singerman at gmail.com
Thu Dec 1 11:46:25 PST 2005


Hi all,

Perhaps I am missing something incredibly stupid here, but I can't
source the vars file that is part of the OpeVPN configuration process:

# source ./vars
export: Command not found.
D: Undefined variable.

Here is the contents of vars (with the comments removed for the sake
of brevity):

# easy-rsa parameter settings

export D=`pwd`

export KEY_CONFIG=$D/openssl.cnf

export KEY_DIR=$D/keys

echo NOTE: when you run ./clean-all, I will be doing a rm -rf on $KEY_DIR

export KEY_SIZE=1024

export KEY_COUNTRY=KG
export KEY_PROVINCE=NA
export KEY_CITY=BISHKEK
export KEY_ORG="OpenVPN-TEST"
export KEY_EMAIL="me at myhost.mydomain"

Please note, the info in that last section has been changed to be my
correct info, I just didn't want to include it :)

Thanks for any and all help on this!

--Matt


More information about the freebsd-questions mailing list