created script that updated pia configs. also created a parent script that calls all provider specific scripts
This commit is contained in:
11
openvpn/updateConfigs.sh
Executable file
11
openvpn/updateConfigs.sh
Executable 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 {} \;
|
Reference in New Issue
Block a user