Revert "Merge test (#929)"

This reverts commit d691321b3e.
This commit is contained in:
4s3ti 2020-01-31 20:24:31 +01:00 committed by GitHub
parent d691321b3e
commit b8f89ab015
21 changed files with 507 additions and 692 deletions

View file

@ -2,13 +2,6 @@
setupVars="/etc/pivpn/setupVars.conf"
if [ ! -f "${setupVars}" ]; then
echo "::: Missing setup vars file!"
exit 1
fi
source "${setupVars}"
helpFunc(){
echo "::: Create a client conf profile"
echo ":::"
@ -46,6 +39,13 @@ while test $# -gt 0; do
shift
done
if [ ! -f "${setupVars}" ]; then
echo "::: Missing setup vars file!"
exit 1
fi
source "${setupVars}"
# The home folder variable was sourced from the settings file.
if [ ! -d "${install_home}/configs" ]; then
mkdir "${install_home}/configs"