]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/copy-tape-confs
If BASEPORT is not already set, assign it to 8101
[bacula/bacula] / regress / scripts / copy-tape-confs
index b9565193ca2b17e977d903d9b1603105d418474f..c8dae32c4a8b27c4c394b112a71bc4ba47d14656 100755 (executable)
@@ -3,4 +3,9 @@
 /bin/cp -f scripts/bacula-sd-tape.conf bin/bacula-sd.conf
 /bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
 /bin/cp -f scripts/test-console.conf bin/bconsole.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