]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/copy-2drive-confs
Check for file count mismatch
[bacula/bacula] / regress / scripts / copy-2drive-confs
index d25a351fa2721fed1ed1c512c907312967594c98..0388c4c1752c7a0ce5450f0c47ac8bf3403b3c0c 100755 (executable)
@@ -7,4 +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
-touch bin/tape_options
+
+# 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