]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/copy-tape-confs
ebl Use DeviceType=Vtape when USE_VTAPE=yes
[bacula/bacula] / regress / scripts / copy-tape-confs
1 #!/bin/sh
2 /bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
3 /bin/cp -f scripts/bacula-sd-tape.conf bin/bacula-sd.conf
4 /bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
5 /bin/cp -f scripts/test-console.conf bin/bconsole.conf
6
7 # get proper SD tape definitions
8 if [ x$USE_VTAPE = xyes ]; then
9     cp -f scripts/vtape_tape_options bin/tape_options
10 else 
11     cp -f scripts/linux_tape_options bin/tape_options
12 fi
13 if test x`uname` = xFreeBSD ; then
14    cp -f scripts/freebsd_tape_options bin/tape_options
15 fi