]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/copy-2drive-confs
ebl update with $bin variable
[bacula/bacula] / regress / scripts / copy-2drive-confs
index 5877cea6e371dbc7cc470106e3a4e4b634bfd22d..cccce99b00cfebd69594742476aee27e93374363 100755 (executable)
@@ -3,4 +3,9 @@
 /bin/cp -f scripts/bacula-sd-2drive.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
+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
+
+scripts/set_tape_options