created script that updated pia configs. also created a parent script that calls all provider specific scripts

This commit is contained in:
Kristian Haugene
2016-09-02 22:54:30 +02:00
parent 31b66f3d35
commit a52fe2edbd
3 changed files with 38 additions and 1 deletions

11
openvpn/updateConfigs.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
# Parent script for updating OpenVPN configs
# If the script is called from elsewhere
cd "${0%/*}"
# Finds all provider specific update scripts and calls them
find . -mindepth 2 -maxdepth 2 -name 'updateConfigs.sh' -exec /bin/bash {} \;