X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fscripts%2Fcopy-2tape-confs;h=e23adc5c820a52872972cdc1956fa99d344f1e49;hb=7ec6a7e8c7b6908e321883b18dbc64e244bc282a;hp=587e5ff1d32ef1c8ee97c5a8a1d6094a1f0b6016;hpb=3a8d17ee210dcd27940150afdf1915a7a8eb1f5a;p=bacula%2Fbacula diff --git a/regress/scripts/copy-2tape-confs b/regress/scripts/copy-2tape-confs index 587e5ff1d3..e23adc5c82 100755 --- a/regress/scripts/copy-2tape-confs +++ b/regress/scripts/copy-2tape-confs @@ -7,3 +7,9 @@ outf="tmp/sed_tmp" echo "s%# Autochanger = yes% Autochanger = yes%g" >${outf} cp bin/bacula-dir.conf tmp/1 sed -f ${outf} tmp/1 >bin/bacula-dir.conf + +# get proper SD tape definitions +cp -f scripts/linux_tape_options bin/tape_options +if test x`uname` = xFreeBSD ; then + cp -f scripts/freebsd_tape_options bin/tape_options +fi