#!/bin/sh
#
# Copyright (C) 2000-2022 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
cp -f scripts/bacula-dir-tape.conf ${conf}/bacula-dir.conf
cp -f scripts/bacula-sd-virtual-tape.conf ${conf}/bacula-sd.conf
cp -f scripts/test-bacula-fd.conf ${conf}/bacula-fd.conf
cp -f scripts/test-console.conf ${conf}/bconsole.conf
cp -f scripts/test-console.conf ${conf}/bat.conf
outf="tmp/sed_tmp2"
echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
cp ${conf}/bacula-dir.conf tmp/1
sed -f ${outf} tmp/1 >${conf}/bacula-dir.conf
