2021-11-20 20:33:49 +00:00
|
|
|
#! /bin/bash
|
2022-02-21 10:56:57 +00:00
|
|
|
|
2021-11-20 20:33:49 +00:00
|
|
|
# shellcheck source-path=target/scripts/helpers
|
|
|
|
# This file serves as a single import for all helpers
|
|
|
|
|
2022-02-21 10:56:57 +00:00
|
|
|
# Global checksum file mainly needed for the changedetector.
|
|
|
|
# Used in the folling scripts:
|
|
|
|
#
|
|
|
|
# - ../check-for-changes.sh
|
|
|
|
# - ../start-mailserver.sh
|
|
|
|
# - ../startup/setup-stack.sh
|
|
|
|
# - ../../../test/test_helper/common.bash
|
|
|
|
#
|
|
|
|
# shellcheck disable=SC2034
|
|
|
|
CHKSUM_FILE=/tmp/docker-mailserver-config-chksum
|
|
|
|
|
2021-11-20 20:33:49 +00:00
|
|
|
function _import_scripts
|
|
|
|
{
|
|
|
|
local PATH_TO_SCRIPTS='/usr/local/bin/helpers'
|
|
|
|
|
2022-02-21 10:56:57 +00:00
|
|
|
source "${PATH_TO_SCRIPTS}/accounts.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/aliases.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/dns.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/error.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/lock.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/log.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/network.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/postfix.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/relay.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/sasl.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/ssl.sh"
|
|
|
|
source "${PATH_TO_SCRIPTS}/utils.sh"
|
2021-11-20 20:33:49 +00:00
|
|
|
}
|
2022-02-21 10:56:57 +00:00
|
|
|
|
2021-11-20 20:33:49 +00:00
|
|
|
_import_scripts
|