]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Wed, 3 Aug 2005 11:58:27 +0000 (11:58 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 3 Aug 2005 11:58:27 +0000 (11:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2282 91ce42f0-d328-0410-95d8-f526ca767f89

regress/Makefile.in
regress/scripts/bacula-sd-2drive.conf.in
regress/scripts/do_sed

index ef308a90bdadcf8d0dbb9ebc6b609cd299e80828..6b23951e2f25c98f80f9566502d16afc6dd1788c 100644 (file)
@@ -35,8 +35,8 @@ bacula: all sed
        scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS}
 
 sed:
-       echo "Doing: scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH}"
-       scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH}
+       echo "Doing: scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1}"
+       scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1}
 
 # Run all non-root userid tests
 test: 
index 6b569274680b29b29f21468a31306b66a7b0c82c..cf3d54375298ecc5f4da829e3daaa6e976be9d31 100644 (file)
@@ -34,7 +34,7 @@ Director {
 Autochanger {
   Name = DDS-4
   Changer Device = @autochanger@
-  Changer Command ="@scriptdir@/mtx-changer %c %o %S %a"
+  Changer Command ="@scriptdir@/mtx-changer %c %o %S %a %d"
   Device = Drive-0, Drive-1
 }
 
@@ -57,7 +57,7 @@ Device {
   Archive Device = @tape_drive1@
   AutomaticMount = yes;               # when device opened, read it
   Autochanger = yes
-  Drive Index = 0
+  Drive Index = 1
   AlwaysOpen = yes;
   RemovableMedia = yes;
   @@sbindir@/tape_options
index f264e3ba81147bdc09b652ec6d0132382bf87845..35a59479021898c31278e641b4ee73917517d5a3 100755 (executable)
@@ -46,7 +46,7 @@ sed -f ${out} ${cwd}/scripts/cleanup-2drive.in >${cwd}/scripts/cleanup-2drive
 sed -f ${out} ${cwd}/scripts/prepare-two-tapes.in >${cwd}/scripts/prepare-two-tapes
 cp ${cwd}/bin/bacula-sd.conf /tmp/bac$$
 sed s%/tmp%${cwd}/tmp%g /tmp/bac$$ >${cwd}/bin/bacula-sd.conf
-chmod 777 ${cwd}/scripts/cleanup-*tape ${cwd}/scripts/prepare-two-tapes
+chmod 777 ${cwd}/scripts/cleanup-*tape ${cwd}/scripts/cleanup-*drive ${cwd}/scripts/prepare-two-tapes
 rm -f /tmp/bac$$
 cp ${cwd}/bin/mtx-changer /tmp/bac$$
 sed "s%^MTX.*$%MTX=${4}%g" /tmp/bac$$ >${cwd}/bin/mtx-changer