/usr/lib/bareos/scripts/bareos-config is in bareos-common 14.2.6-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/bin/sh
LIB=/usr/lib/bareos/scripts/bareos-config-lib.sh
if ! [ -r "$LIB" ]; then
    echo "failed to read library $LIB"
    exit 1
fi
. $LIB
usage()
{
cat <<-EOT
usage: $0 <function>
EOT
    exit 1
}
help()
{
    usage
}
# number of args passed
args=$#
# without parameter, nothing is done.
# this allows this script to be sourced
# to use its functions
if [ $args -ge 1 ]; then
    # executes given arguments
    if is_function $1; then
        "$@"
    else
        echo "failed to execute $*. Not found."
        #usage
        exit 127
    fi
fi
 |