mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-07 06:47:12 +02:00
* DEBUG: print all lines before execution if var DEBUG is set to anything other than false, each bash script will be run with a set -x. This would ease debugging * DEBUG: centralize commands in utils.sh
11 lines
287 B
Bash
Executable File
11 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
source /etc/openvpn/utils.sh
|
|
|
|
# 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 {} \; |