mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-22 08:53:39 +02:00
parent
4b04c3e31c
commit
9ead9a54ac
5 changed files with 25 additions and 23 deletions
|
@ -10,11 +10,13 @@ function _register_setup_function
|
|||
|
||||
function _setup
|
||||
{
|
||||
while read -r FILE
|
||||
# requires `shopt -s globstar` because of `**` which in
|
||||
# turn is required as we're decending through directories
|
||||
for FILE in /usr/local/bin/setup.d/**/*.sh
|
||||
do
|
||||
# shellcheck source=/dev/null
|
||||
source "${FILE}"
|
||||
done < <(find /usr/local/bin/setup.d/ -type f)
|
||||
done
|
||||
|
||||
_log 'info' 'Configuring mail server'
|
||||
for FUNC in "${FUNCS_SETUP[@]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue