docker-transmission-openvpn/openvpn/updateConfigs.sh
edgd1er af3d905b3a
DEBUG: print all lines before execution (#2096)
* 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
2021-12-05 08:25:22 +09:00

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 {} \;