From a65be426b20b4fc69da1a8e0cc2bb7d37b5b29cc Mon Sep 17 00:00:00 2001 From: Sheppy Date: Wed, 24 May 2017 00:00:04 +0200 Subject: [PATCH] more config --- atlantislaptop/auth.txt.gpg | 1 + atlantislaptop/copyfiles.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 atlantislaptop/auth.txt.gpg diff --git a/atlantislaptop/auth.txt.gpg b/atlantislaptop/auth.txt.gpg new file mode 100755 index 0000000..1bd7cc9 --- /dev/null +++ b/atlantislaptop/auth.txt.gpg @@ -0,0 +1 @@ + )vgneS&_}$TfE&[qbN*2Six[gcR7HHFd');<* J 6YZV>̋Z \ No newline at end of file diff --git a/atlantislaptop/copyfiles.sh b/atlantislaptop/copyfiles.sh index b5b9162..9ec77cd 100644 --- a/atlantislaptop/copyfiles.sh +++ b/atlantislaptop/copyfiles.sh @@ -10,4 +10,6 @@ cp $CONF_DIR/edurom /etc/wicd/encryption/templates/ #scripts in path cp $CONF_DIR/openvpn_cip.sh /usr/bin/ cp $CONF_DIR/stopvpn.sh /usr/bin/ -echo "auth.txt expected in /etc/openvpn/" + +gpg --output /etc/openvpn/auth.txt -d auth.txt.gpg +chmod 500 /etc/openvpn/auth.txt