summaryrefslogtreecommitdiff
path: root/images/obfsvpn
diff options
context:
space:
mode:
Diffstat (limited to 'images/obfsvpn')
-rw-r--r--images/obfsvpn/scripts/functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/images/obfsvpn/scripts/functions.sh b/images/obfsvpn/scripts/functions.sh
index f00ac38..585615b 100644
--- a/images/obfsvpn/scripts/functions.sh
+++ b/images/obfsvpn/scripts/functions.sh
@@ -29,6 +29,9 @@ function createConfig() {
cd "$APP_INSTALL_PATH"
cp config/client.ovpn $CLIENT_PATH
+ # dirty hack: copy client config to root of APP_PERSIST_DIR
+ # for reusing in the obfsvpn-client container
+ cp config/client.ovpn "$APP_PERSIST_DIR/"
echo -e "\nremote $HOST_ADDR $PORT" >> "$CLIENT_PATH/client.ovpn"