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 "::: Remove a client conf profile"
echo ":::"
@ -36,6 +29,13 @@ do
shift
done
if [ ! -f "${setupVars}" ]; then
echo "::: Missing setup vars file!"
exit 1
fi
source "${setupVars}"
cd /etc/wireguard
if [ ! -s configs/clients.txt ]; then
echo "::: There are no clients to remove"