]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/copy-tls-confs
Backport from Bacula Enterprise
[bacula/bacula] / regress / scripts / copy-tls-confs
index 16129a8200df61b5421ab884a7c1d04140fd9e2c..6a3f5b373393fff09464562500249176e28b3842 100755 (executable)
@@ -1,9 +1,14 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
 
-/bin/cp -f scripts/tls-bacula-dir.conf bin/bacula-dir.conf
-/bin/cp -f scripts/tls-bacula-sd.conf bin/bacula-sd.conf
-/bin/cp -f scripts/tls-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-/bin/cp -f scripts/test-console.conf bin/bat.conf
-/bin/cp -f scripts/tls-CA.pem bin/tls-CA.pem
-/bin/cp -f scripts/tls-cert.pem bin/tls-cert.pem
+
+cp -f scripts/tls-bacula-dir.conf ${conf}/bacula-dir.conf
+cp -f scripts/tls-bacula-sd.conf ${conf}/bacula-sd.conf
+cp -f scripts/tls-bacula-fd.conf ${conf}/bacula-fd.conf
+cp -f scripts/test-console.conf ${conf}/bconsole.conf
+cp -f scripts/test-console.conf ${conf}/bat.conf
+cp -f scripts/tls-CA.pem ${conf}/tls-CA.pem
+cp -f scripts/tls-cert.pem ${conf}/tls-cert.pem