]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/copy-2disk-confs
Delete unwanted subdirectory
[bacula/bacula] / regress / scripts / copy-2disk-confs
1 #!/bin/sh
2 #
3 # Setup for using the Virtual Disk Changer (simulates tape changer)
4 #
5 /bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
6 /bin/cp -f scripts/bacula-sd-2disk.conf bin/bacula-sd.conf
7 /bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
8 /bin/cp -f scripts/test-console.conf bin/bconsole.conf
9 outf="tmp/sed_tmp"
10 echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
11 cp bin/bacula-dir.conf tmp/1
12 sed -f ${outf} tmp/1 >bin/bacula-dir.conf