]> git.donarmstrong.com Git - bin.git/commitdiff
* fix copying of conf
authorDon Armstrong <don@donarmstrong.com>
Thu, 17 Sep 2009 20:51:49 +0000 (20:51 +0000)
committerDon Armstrong <don@donarmstrong.com>
Thu, 17 Sep 2009 20:51:49 +0000 (20:51 +0000)
add_openvpn_host

index d79c8842ef3975c4cedc9ffe086efb31fc9121b5..0b9e311aad9a967b20c886a2a4bcf85455b059ea 100755 (executable)
@@ -48,7 +48,7 @@ ORIGDIR=$(pwd);
     ln -sf "${HOST}".pem "${CLIENT_KEY}"
 )
 
-cp "${CLIENT_CONF}" "${TMPDIR}"/;
+cp "${CONF}" "${TMPDIR}"/;
 cp "${SERVER_CACERT}" "${TMPDIR}"/;
 
 tar -zcf "${HOST}".tar.gz -C "${TMPDIR}" \