]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/copy-2tape-confs
Updates
[bacula/bacula] / regress / scripts / copy-2tape-confs
1 #!/bin/sh
2 /bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
3 /bin/cp -f scripts/bacula-sd-2tape.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 outf="tmp/sed_tmp"
7 echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
8 cp bin/bacula-dir.conf tmp/1
9 sed -f ${outf} tmp/1 >bin/bacula-dir.conf